inherited fmFoodMenu: TfmFoodMenu
  Left = 348
  Top = 190
  Width = 1546
  Height = 780
  Caption = 'fmFoodMenu'
  Constraints.MinHeight = 780
  Constraints.MinWidth = 1015
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  inherited sbBottom: TStatusBar
    Top = 715
    Width = 1530
  end
  inherited Panel1: TPanel
    Width = 1530
    Visible = False
    inherited BitBtn1: TBitBtn
      Left = 1368
    end
    inherited BitBtn2: TBitBtn
      Left = 1456
    end
  end
  object cxPageControl1: TcxPageControl [2]
    Left = 0
    Top = 45
    Width = 1530
    Height = 670
    ActivePage = cxTabSheet1
    Align = alClient
    TabOrder = 6
    ClientRectBottom = 669
    ClientRectLeft = 1
    ClientRectRight = 1529
    ClientRectTop = 21
    object cxTabSheet1: TcxTabSheet
      Caption = #1054#1076#1085#1086' '#1084#1077#1085#1102
      ImageIndex = 0
      object Panel2: TPanel
        Left = 0
        Top = 0
        Width = 305
        Height = 648
        Align = alLeft
        Caption = 'Panel2'
        TabOrder = 0
        object Panel3: TPanel
          Left = 1
          Top = 1
          Width = 303
          Height = 141
          Align = alTop
          Caption = 'Panel3'
          TabOrder = 0
          object Panel6: TPanel
            Left = 1
            Top = 1
            Width = 301
            Height = 76
            Align = alTop
            TabOrder = 0
            object Label3: TLabel
              Left = 7
              Top = 30
              Width = 38
              Height = 13
              Caption = #1052#1077#1085#1102':'
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clGray
              Font.Height = -11
              Font.Name = 'Tahoma'
              Font.Style = [fsBold]
              ParentFont = False
            end
            object dxBarDockControl1: TdxBarDockControl
              Left = 1
              Top = 1
              Width = 299
              Height = 26
              Align = dalTop
              BarManager = dxBarManager1
            end
            object lcbMenu: TcxLookupComboBox
              Left = 9
              Top = 46
              Enabled = False
              ParentFont = False
              Properties.DropDownAutoSize = True
              Properties.DropDownListStyle = lsFixedList
              Properties.DropDownRows = 50
              Properties.GridMode = True
              Properties.KeyFieldNames = 'MID'
              Properties.ListColumns = <
                item
                  FieldName = 'MNAME'
                end>
              Properties.ListOptions.ShowHeader = False
              Properties.ListSource = dsMenu
              Properties.MaxLength = 0
              Properties.OnChange = lcbMenuPropertiesChange
              Properties.OnCloseUp = lcbMenuPropertiesCloseUp
              Properties.OnInitPopup = lcbMenuPropertiesInitPopup
              Properties.OnPopup = lcbMenuPropertiesPopup
              Style.Font.Charset = DEFAULT_CHARSET
              Style.Font.Color = clWindowText
              Style.Font.Height = -11
              Style.Font.Name = 'Tahoma'
              Style.Font.Style = []
              Style.IsFontAssigned = True
              TabOrder = 1
              Width = 280
            end
          end
          object Panel9: TPanel
            Left = 1
            Top = 77
            Width = 301
            Height = 62
            Align = alTop
            TabOrder = 1
            object Label4: TLabel
              Left = 7
              Top = 12
              Width = 128
              Height = 13
              Caption = #1044#1072#1090#1072' '#1076#1077#1081#1089#1090#1074#1080#1103' '#1084#1077#1085#1102':'
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clGray
              Font.Height = -11
              Font.Name = 'Tahoma'
              Font.Style = [fsBold]
              ParentFont = False
            end
            object Label5: TLabel
              Left = 7
              Top = 38
              Width = 7
              Height = 13
              Caption = #1057
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clGray
              Font.Height = -11
              Font.Name = 'Tahoma'
              Font.Style = [fsBold]
              ParentFont = False
            end
            object Label6: TLabel
              Left = 151
              Top = 38
              Width = 16
              Height = 13
              Caption = #1055#1054
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clGray
              Font.Height = -11
              Font.Name = 'Tahoma'
              Font.Style = [fsBold]
              ParentFont = False
            end
            object eDateBegin: TcxDBTextEdit
              Left = 24
              Top = 32
              DataBinding.DataField = 'DATEBEGIN'
              DataBinding.DataSource = dsMenu
              Properties.ReadOnly = True
              TabOrder = 0
              Width = 121
            end
            object eDateEnd: TcxDBTextEdit
              Left = 176
              Top = 32
              DataBinding.DataField = 'DATEEND'
              DataBinding.DataSource = dsMenu
              Properties.ReadOnly = True
              TabOrder = 1
              Width = 121
            end
          end
        end
        object Panel4: TPanel
          Left = 1
          Top = 142
          Width = 303
          Height = 505
          Align = alClient
          Caption = 'Panel4'
          TabOrder = 1
          object Panel7: TPanel
            Left = 1
            Top = 60
            Width = 301
            Height = 444
            Align = alClient
            TabOrder = 0
            object cxDBVerticalGrid1: TcxDBVerticalGrid
              Left = 1
              Top = 1
              Width = 299
              Height = 442
              Align = alClient
              OptionsView.RowHeaderWidth = 95
              OptionsData.CancelOnExit = False
              OptionsData.Editing = False
              OptionsData.Appending = False
              OptionsData.Deleting = False
              OptionsData.DeletingConfirmation = False
              OptionsData.Inserting = False
              TabOrder = 0
              DataController.DataSource = dsSumTechMap
              object cxDBVerticalGrid1ENERGYVAL: TcxDBEditorRow
                Properties.Caption = #1082#1082#1072#1083'.'
                Properties.DataBinding.FieldName = 'ENERGYVAL'
              end
              object cxDBVerticalGrid1PROTEINS: TcxDBEditorRow
                Properties.Caption = #1041#1077#1083#1082#1080
                Properties.DataBinding.FieldName = 'PROTEINS'
              end
              object cxDBVerticalGrid1FATS: TcxDBEditorRow
                Properties.Caption = #1046#1080#1088#1099
                Properties.DataBinding.FieldName = 'FATS'
              end
              object cxDBVerticalGrid1CARBOHYDRATES: TcxDBEditorRow
                Properties.Caption = #1059#1075#1083#1077#1074#1086#1076#1099
                Properties.DataBinding.FieldName = 'CARBOHYDRATES'
              end
              object cxDBVerticalGrid1CACALCIUM: TcxDBEditorRow
                Properties.Caption = #1050#1072#1083#1100#1094#1080#1081
                Properties.DataBinding.FieldName = 'CACALCIUM'
              end
              object cxDBVerticalGrid1MAGNESIUM: TcxDBEditorRow
                Properties.Caption = #1052#1072#1075#1085#1080#1081
                Properties.DataBinding.FieldName = 'MAGNESIUM'
              end
              object cxDBVerticalGrid1PHOSPHORUS: TcxDBEditorRow
                Properties.Caption = #1060#1086#1089#1092#1086#1088
                Properties.DataBinding.FieldName = 'PHOSPHORUS'
              end
              object cxDBVerticalGrid1FERRUM: TcxDBEditorRow
                Properties.Caption = #1046#1077#1083#1077#1079#1086
                Properties.DataBinding.FieldName = 'FERRUM'
              end
              object cxDBVerticalGrid1VIT_A: TcxDBEditorRow
                Properties.Caption = #1042#1080#1090#1072#1084#1080#1085' A'
                Properties.DataBinding.FieldName = 'VIT_A'
              end
              object cxDBVerticalGrid1VIT_B1: TcxDBEditorRow
                Properties.Caption = #1042#1080#1090#1072#1084#1080#1085' B1'
                Properties.DataBinding.FieldName = 'VIT_B1'
              end
              object cxDBVerticalGrid1VIT_B2: TcxDBEditorRow
                Properties.Caption = #1042#1080#1090#1072#1084#1080#1085' B2'
                Properties.DataBinding.FieldName = 'VIT_B2'
              end
              object cxDBVerticalGrid1VIT_PP: TcxDBEditorRow
                Properties.Caption = #1042#1080#1090#1072#1084#1080#1085' PP'
                Properties.DataBinding.FieldName = 'VIT_PP'
              end
              object cxDBVerticalGrid1VIT_C: TcxDBEditorRow
                Properties.Caption = #1042#1080#1090#1072#1084#1080#1085' C'
                Properties.DataBinding.FieldName = 'VIT_C'
              end
              object cxDBVerticalGrid1VIT_E: TcxDBEditorRow
                Properties.Caption = #1042#1080#1090#1072#1084#1080#1085' E'
                Properties.DataBinding.FieldName = 'VIT_E'
              end
            end
          end
          object Panel10: TPanel
            Left = 1
            Top = 1
            Width = 301
            Height = 59
            Align = alTop
            TabOrder = 1
            object Label7: TLabel
              Left = 7
              Top = 12
              Width = 70
              Height = 13
              Caption = #1057#1090#1072#1090#1080#1089#1090#1080#1082#1072':'
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clGray
              Font.Height = -11
              Font.Name = 'Tahoma'
              Font.Style = [fsBold]
              ParentFont = False
            end
            object Label8: TLabel
              Left = 7
              Top = 36
              Width = 84
              Height = 13
              Caption = #1053#1072#1079#1074#1072#1085#1080#1077' '#1076#1085#1103':'
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clGray
              Font.Height = -11
              Font.Name = 'Tahoma'
              Font.Style = [fsBold]
              ParentFont = False
            end
            object cbgGroup: TcxComboBox
              Left = 96
              Top = 30
              Properties.DropDownRows = 14
              Properties.Items.Strings = (
                '1-'#1081' '#1087#1086#1085#1077#1076#1077#1083#1100#1085#1080#1082
                '1-'#1081' '#1074#1090#1086#1088#1085#1080#1082
                '1-'#1103' '#1089#1088#1077#1076#1072
                '1-'#1081' '#1095#1077#1090#1074#1077#1088#1075
                '1-'#1103' '#1087#1103#1090#1085#1080#1094#1072
                '1-'#1103' '#1089#1091#1073#1073#1086#1090#1072
                '1-'#1077' '#1074#1086#1089#1082#1088#1077#1089#1077#1085#1100#1077
                '2-'#1081' '#1087#1086#1085#1077#1076#1077#1083#1100#1085#1080#1082
                '2-'#1081' '#1074#1090#1086#1088#1085#1080#1082
                '2-'#1103' '#1089#1088#1077#1076#1072
                '2-'#1081' '#1095#1077#1090#1074#1077#1088#1075
                '2-'#1103' '#1087#1103#1090#1085#1080#1094#1072
                '2-'#1103' '#1089#1091#1073#1073#1086#1090#1072
                '2-'#1077' '#1074#1086#1089#1082#1088#1077#1089#1077#1085#1100#1077
                '3-'#1081' '#1087#1086#1085#1077#1076#1077#1083#1100#1085#1080#1082
                '3-'#1081' '#1074#1090#1086#1088#1085#1080#1082
                '3-'#1103' '#1089#1088#1077#1076#1072
                '3-'#1081' '#1095#1077#1090#1074#1077#1088#1075
                '3-'#1103' '#1087#1103#1090#1085#1080#1094#1072
                '3-'#1103' '#1089#1091#1073#1073#1086#1090#1072
                '3-'#1077' '#1074#1086#1089#1082#1088#1077#1089#1077#1085#1100#1077
                '4-'#1081' '#1087#1086#1085#1077#1076#1077#1083#1100#1085#1080#1082
                '4-'#1081' '#1074#1090#1086#1088#1085#1080#1082
                '4-'#1103' '#1089#1088#1077#1076#1072
                '4-'#1081' '#1095#1077#1090#1074#1077#1088#1075
                '4-'#1103' '#1087#1103#1090#1085#1080#1094#1072
                '4-'#1103' '#1089#1091#1073#1073#1086#1090#1072
                '4-'#1077' '#1074#1086#1089#1082#1088#1077#1089#1077#1085#1100#1077)
              Properties.MaxLength = 0
              Properties.OnCloseUp = cbgGroupPropertiesCloseUp
              TabOrder = 0
              Width = 201
            end
          end
        end
      end
      object Panel5: TPanel
        Left = 305
        Top = 0
        Width = 1223
        Height = 648
        Align = alClient
        Caption = 'Panel5'
        TabOrder = 1
        object dxBarDockControl2: TdxBarDockControl
          Left = 1
          Top = 1
          Width = 1221
          Height = 26
          Align = dalTop
          BarManager = dxBarManager1
        end
        object Panel8: TPanel
          Left = 1
          Top = 27
          Width = 1221
          Height = 32
          Align = alTop
          TabOrder = 1
          object Label1: TLabel
            Left = 7
            Top = 12
            Width = 80
            Height = 13
            Caption = #1057#1086#1089#1090#1072#1074' '#1084#1077#1085#1102':'
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clGray
            Font.Height = -11
            Font.Name = 'Tahoma'
            Font.Style = [fsBold]
            ParentFont = False
          end
          object Label2: TLabel
            Left = 319
            Top = 11
            Width = 94
            Height = 13
            Caption = #1043#1088#1091#1087#1087#1072' '#1087#1080#1090#1072#1085#1080#1103':'
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clGray
            Font.Height = -11
            Font.Name = 'Tahoma'
            Font.Style = [fsBold]
            ParentFont = False
          end
          object LGroup: TLabel
            Left = 423
            Top = 11
            Width = 94
            Height = 13
            Caption = #1043#1088#1091#1087#1087#1072' '#1087#1080#1090#1072#1085#1080#1103':'
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clGray
            Font.Height = -11
            Font.Name = 'Tahoma'
            Font.Style = [fsBold]
            ParentFont = False
          end
        end
        object cxGrid3: TcxGrid
          Left = 1
          Top = 59
          Width = 1221
          Height = 588
          Align = alClient
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -13
          Font.Name = 'Tahoma'
          Font.Style = []
          ParentFont = False
          TabOrder = 2
          LookAndFeel.Kind = lfStandard
          object tvmenu: TcxGridDBBandedTableView
            NavigatorButtons.ConfirmDelete = False
            OnCellClick = tvmenuCellClick
            DataController.DataSource = dsMenuContent
            DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoGroupsAlwaysExpanded]
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <>
            DataController.Summary.SummaryGroups = <>
            OptionsCustomize.ColumnFiltering = False
            OptionsCustomize.ColumnMoving = False
            OptionsCustomize.ColumnSorting = False
            OptionsCustomize.BandMoving = False
            OptionsView.GroupByBox = False
            Styles.IncSearch = DMInv.cxKrasniyText
            Styles.Selection = DMInv.cxJoltiyFon
            Styles.Header = DMInv.cxSiniyText
            Styles.BandHeader = DMInv.cxSiniyText
            Bands = <
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end
              item
              end>
            object tvmenuGR: TcxGridDBBandedColumn
              Caption = #1055#1088#1080#1077#1084' '#1087#1080#1097#1080
              DataBinding.FieldName = 'GR'
              Visible = False
              GroupIndex = 0
              SortIndex = 0
              SortOrder = soAscending
              Width = 74
              Position.BandIndex = 0
              Position.ColIndex = 2
              Position.RowIndex = 0
            end
            object tvmenuNUM: TcxGridDBBandedColumn
              Caption = #8470
              DataBinding.FieldName = 'NUM'
              Options.Editing = False
              SortIndex = 1
              SortOrder = soAscending
              Width = 20
              Position.BandIndex = 0
              Position.ColIndex = 1
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES1: TcxGridDBBandedColumn
              Caption = '1-'#1081' '#1087#1086#1085#1077#1076#1077#1083#1100#1085#1080#1082
              DataBinding.FieldName = 'SDNAMES1'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = cxGridDBBandedTableView1SDNAMES1PropertiesButtonClick
              Width = 92
              Position.BandIndex = 1
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES2: TcxGridDBBandedColumn
              Caption = '1-'#1081' '#1074#1090#1086#1088#1085#1080#1082
              DataBinding.FieldName = 'SDNAMES2'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = cxGridDBBandedTableView1SDNAMES2PropertiesButtonClick
              Width = 67
              Position.BandIndex = 2
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES3: TcxGridDBBandedColumn
              Caption = '1-'#1103' '#1089#1088#1077#1076#1072
              DataBinding.FieldName = 'SDNAMES3'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = cxGridDBBandedTableView1SDNAMES3PropertiesButtonClick
              Width = 55
              Position.BandIndex = 3
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES4: TcxGridDBBandedColumn
              Caption = '1-'#1081' '#1095#1077#1090#1074#1077#1088#1075
              DataBinding.FieldName = 'SDNAMES4'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = cxGridDBBandedTableView1SDNAMES4PropertiesButtonClick
              Width = 66
              Position.BandIndex = 4
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES5: TcxGridDBBandedColumn
              Caption = '1-'#1103' '#1087#1103#1090#1085#1080#1094#1072
              DataBinding.FieldName = 'SDNAMES5'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = cxGridDBBandedTableView1SDNAMES5PropertiesButtonClick
              Width = 67
              Position.BandIndex = 5
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES6: TcxGridDBBandedColumn
              Caption = '1-'#1103' '#1089#1091#1073#1073#1086#1090#1072
              DataBinding.FieldName = 'SDNAMES6'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = cxGridDBBandedTableView1SDNAMES6PropertiesButtonClick
              Width = 66
              Position.BandIndex = 6
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES7: TcxGridDBBandedColumn
              Caption = '1-'#1077' '#1074#1086#1089#1082#1088#1077#1089#1077#1085#1100#1077
              DataBinding.FieldName = 'SDNAMES7'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = cxGridDBBandedTableView1SDNAMES7PropertiesButtonClick
              Width = 89
              Position.BandIndex = 7
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES8: TcxGridDBBandedColumn
              Caption = '2-'#1081' '#1087#1086#1085#1077#1076#1077#1083#1100#1085#1080#1082
              DataBinding.FieldName = 'SDNAMES8'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = cxGridDBBandedTableView1SDNAMES8PropertiesButtonClick
              Width = 92
              Position.BandIndex = 8
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES9: TcxGridDBBandedColumn
              Caption = '2-'#1081' '#1074#1090#1086#1088#1085#1080#1082
              DataBinding.FieldName = 'SDNAMES9'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = cxGridDBBandedTableView1SDNAMES9PropertiesButtonClick
              Width = 67
              Position.BandIndex = 9
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES10: TcxGridDBBandedColumn
              Caption = '2-'#1103' '#1089#1088#1077#1076#1072
              DataBinding.FieldName = 'SDNAMES10'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = cxGridDBBandedTableView1SDNAMES10PropertiesButtonClick
              Width = 55
              Position.BandIndex = 10
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES11: TcxGridDBBandedColumn
              Caption = '2-'#1081' '#1095#1077#1090#1074#1077#1088#1075
              DataBinding.FieldName = 'SDNAMES11'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = cxGridDBBandedTableView1SDNAMES11PropertiesButtonClick
              Width = 66
              Position.BandIndex = 11
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES12: TcxGridDBBandedColumn
              Caption = '2-'#1103' '#1087#1103#1090#1085#1080#1094#1072
              DataBinding.FieldName = 'SDNAMES12'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = cxGridDBBandedTableView1SDNAMES12PropertiesButtonClick
              Width = 67
              Position.BandIndex = 12
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES13: TcxGridDBBandedColumn
              Caption = '2-'#1103' '#1089#1091#1073#1073#1086#1090#1072
              DataBinding.FieldName = 'SDNAMES13'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = cxGridDBBandedTableView1SDNAMES13PropertiesButtonClick
              Width = 66
              Position.BandIndex = 13
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES14: TcxGridDBBandedColumn
              Caption = '2-'#1077' '#1074#1086#1089#1082#1088#1077#1089#1077#1085#1100#1077
              DataBinding.FieldName = 'SDNAMES14'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = cxGridDBBandedTableView1SDNAMES14PropertiesButtonClick
              Width = 89
              Position.BandIndex = 14
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuGRNAME: TcxGridDBBandedColumn
              Caption = #1055#1088#1080#1077#1084' '#1087#1080#1097#1080
              DataBinding.FieldName = 'GR'
              Visible = False
              Options.Editing = False
              Width = 67
              Position.BandIndex = 0
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES15: TcxGridDBBandedColumn
              Caption = '3-'#1081' '#1087#1086#1085#1077#1076#1077#1083#1100#1085#1080#1082
              DataBinding.FieldName = 'SDNAMES15'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = tvmenuSDNAMES15PropertiesButtonClick
              Width = 65
              Position.BandIndex = 15
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES16: TcxGridDBBandedColumn
              Caption = '3-'#1081' '#1074#1090#1086#1088#1085#1080#1082
              DataBinding.FieldName = 'SDNAMES16'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = tvmenuSDNAMES16PropertiesButtonClick
              Width = 65
              Position.BandIndex = 16
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES17: TcxGridDBBandedColumn
              Caption = '3-'#1103' '#1089#1088#1077#1076#1072
              DataBinding.FieldName = 'SDNAMES17'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                end
                item
                end>
              Properties.OnButtonClick = tvmenuSDNAMES17PropertiesButtonClick
              Width = 65
              Position.BandIndex = 17
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES18: TcxGridDBBandedColumn
              Caption = '3-'#1081' '#1095#1077#1090#1074#1077#1088#1075
              DataBinding.FieldName = 'SDNAMES18'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = tvmenuSDNAMES18PropertiesButtonClick
              Width = 65
              Position.BandIndex = 18
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES19: TcxGridDBBandedColumn
              Caption = '3-'#1103' '#1087#1103#1090#1085#1080#1094#1072
              DataBinding.FieldName = 'SDNAMES19'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = tvmenuSDNAMES19PropertiesButtonClick
              Width = 65
              Position.BandIndex = 19
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES20: TcxGridDBBandedColumn
              Caption = '3-'#1103' '#1089#1091#1073#1073#1086#1090#1072
              DataBinding.FieldName = 'SDNAMES20'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = tvmenuSDNAMES20PropertiesButtonClick
              Width = 65
              Position.BandIndex = 20
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES21: TcxGridDBBandedColumn
              Caption = '3-'#1077' '#1074#1086#1089#1082#1088#1077#1089#1077#1085#1100#1077
              DataBinding.FieldName = 'SDNAMES21'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = tvmenuSDNAMES21PropertiesButtonClick
              Width = 65
              Position.BandIndex = 21
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES22: TcxGridDBBandedColumn
              Caption = '4-'#1081' '#1087#1086#1085#1077#1076#1077#1083#1100#1085#1080#1082
              DataBinding.FieldName = 'SDNAMES22'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = tvmenuSDNAMES22PropertiesButtonClick
              Width = 65
              Position.BandIndex = 22
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES23: TcxGridDBBandedColumn
              Caption = '4-'#1081' '#1074#1090#1086#1088#1085#1080#1082
              DataBinding.FieldName = 'SDNAMES23'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = tvmenuSDNAMES23PropertiesButtonClick
              Width = 65
              Position.BandIndex = 23
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES24: TcxGridDBBandedColumn
              Caption = '4-'#1103' '#1089#1088#1077#1076#1072
              DataBinding.FieldName = 'SDNAMES24'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = tvmenuSDNAMES24PropertiesButtonClick
              Width = 65
              Position.BandIndex = 24
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES25: TcxGridDBBandedColumn
              Caption = '4-'#1081' '#1095#1077#1090#1074#1077#1088#1075
              DataBinding.FieldName = 'SDNAMES25'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = tvmenuSDNAMES25PropertiesButtonClick
              Width = 65
              Position.BandIndex = 25
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES26: TcxGridDBBandedColumn
              Caption = '4-'#1103' '#1087#1103#1090#1085#1080#1094#1072
              DataBinding.FieldName = 'SDNAMES26'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = tvmenuSDNAMES26PropertiesButtonClick
              Width = 65
              Position.BandIndex = 26
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES27: TcxGridDBBandedColumn
              Caption = '4-'#1103' '#1089#1091#1073#1073#1086#1090#1072
              DataBinding.FieldName = 'SDNAMES27'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = tvmenuSDNAMES27PropertiesButtonClick
              Width = 65
              Position.BandIndex = 27
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvmenuSDNAMES28: TcxGridDBBandedColumn
              Caption = '4-'#1077' '#1074#1086#1089#1082#1088#1077#1089#1077#1085#1080#1077
              DataBinding.FieldName = 'SDNAMES28'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                end
                item
                  Glyph.Data = {
                    F6000000424DF600000000000000760000002800000010000000100000000100
                    0400000000008000000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
                    8888888888888888888888808888888888088800088888888888880000888888
                    8088888000888888088888880008888008888888800088008888888888000008
                    8888888888800088888888888800000888888888800088008888888000088880
                    0888880000888888008888000888888888088888888888888888}
                  Kind = bkGlyph
                end>
              Properties.OnButtonClick = tvmenuSDNAMES28PropertiesButtonClick
              Width = 65
              Position.BandIndex = 28
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
          end
          object cxGridLevel2: TcxGridLevel
            GridView = tvmenu
          end
        end
      end
    end
    object cxTabSheet2: TcxTabSheet
      Caption = #1042#1089#1077' '#1084#1077#1085#1102
      ImageIndex = 1
      object Panel11: TPanel
        Left = 0
        Top = 0
        Width = 1528
        Height = 28
        Align = alTop
        TabOrder = 0
        object dxBarDockControl3: TdxBarDockControl
          Left = 1
          Top = 1
          Width = 1526
          Height = 25
          Align = dalTop
          BarManager = dxBarManager1
        end
      end
      object cxGrid1: TcxGrid
        Left = 0
        Top = 28
        Width = 1528
        Height = 620
        Align = alClient
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -13
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        TabOrder = 1
        LookAndFeel.Kind = lfStandard
        object tvmenu_all: TcxGridDBBandedTableView
          NavigatorButtons.ConfirmDelete = False
          DataController.DataSource = dsMenuContentAll
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsCustomize.ColumnFiltering = False
          OptionsData.Editing = False
          OptionsView.GroupByBox = False
          Styles.IncSearch = DMInv.cxKrasniyText
          Styles.Selection = DMInv.cxJoltiyFon
          Styles.Header = DMInv.cxSiniyText
          Styles.BandHeader = DMInv.cxSiniyText
          Bands = <
            item
            end
            item
              Caption = #1044#1077#1090#1089#1082#1080#1081' '#1089#1072#1076
            end
            item
              Caption = #1053#1072#1095#1072#1083#1100#1085#1072#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1088#1077#1076#1085#1103#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1086#1090#1088#1091#1076#1085#1080#1082#1080
              Width = 77
            end
            item
              Caption = #1044#1077#1090#1089#1082#1080#1081' '#1089#1072#1076
            end
            item
              Caption = #1053#1072#1095#1072#1083#1100#1085#1072#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1088#1077#1076#1085#1103#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1086#1090#1088#1091#1076#1085#1080#1082#1080
            end
            item
              Caption = #1044#1077#1090#1089#1082#1080#1081' '#1089#1072#1076
            end
            item
              Caption = #1053#1072#1095#1072#1083#1100#1085#1072#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1088#1077#1076#1085#1103#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1086#1090#1088#1091#1076#1085#1080#1082#1080
            end
            item
              Caption = #1044#1077#1090#1089#1082#1080#1081' '#1089#1072#1076
            end
            item
              Caption = #1053#1072#1095#1072#1083#1100#1085#1072#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1088#1077#1076#1085#1103#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1086#1090#1088#1091#1076#1085#1080#1082#1080
            end
            item
              Caption = #1044#1077#1090#1089#1082#1080#1081' '#1089#1072#1076
            end
            item
              Caption = #1053#1072#1095#1072#1083#1100#1085#1072#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1088#1077#1076#1085#1103#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1086#1090#1088#1091#1076#1085#1080#1082#1080
            end
            item
              Caption = #1044#1077#1090#1089#1082#1080#1081' '#1089#1072#1076
            end
            item
              Caption = #1053#1072#1095#1072#1083#1100#1085#1072#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1088#1077#1076#1085#1103#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1086#1090#1088#1091#1076#1085#1080#1082#1080
            end
            item
              Caption = #1044#1077#1090#1089#1082#1080#1081' '#1089#1072#1076
            end
            item
              Caption = #1053#1072#1095#1072#1083#1100#1085#1072#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1088#1077#1076#1085#1103#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1086#1090#1088#1091#1076#1085#1080#1082#1080
            end
            item
              Caption = #1044#1077#1090#1089#1082#1080#1081' '#1089#1072#1076
            end
            item
              Caption = #1053#1072#1095#1072#1083#1100#1085#1072#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1088#1077#1076#1085#1103#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1086#1090#1088#1091#1076#1085#1080#1082#1080
            end
            item
              Caption = #1044#1077#1090#1089#1082#1080#1081' '#1089#1072#1076
            end
            item
              Caption = #1053#1072#1095#1072#1083#1100#1085#1072#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1088#1077#1076#1085#1103#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1086#1090#1088#1091#1076#1085#1080#1082#1080
            end
            item
              Caption = #1044#1077#1090#1089#1082#1080#1081' '#1089#1072#1076
            end
            item
              Caption = #1053#1072#1095#1072#1083#1100#1085#1072#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1088#1077#1076#1085#1103#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1086#1090#1088#1091#1076#1085#1080#1082#1080
            end
            item
              Caption = #1044#1077#1090#1089#1082#1080#1081' '#1089#1072#1076
            end
            item
              Caption = #1053#1072#1095#1072#1083#1100#1085#1072#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1088#1077#1076#1085#1103#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1086#1090#1088#1091#1076#1085#1080#1082#1080
            end
            item
              Caption = #1044#1077#1090#1089#1082#1080#1081' '#1089#1072#1076
            end
            item
              Caption = #1053#1072#1095#1072#1083#1100#1085#1072#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1088#1077#1076#1085#1103#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1086#1090#1088#1091#1076#1085#1080#1082#1080
            end
            item
              Caption = #1044#1077#1090#1089#1082#1080#1081' '#1089#1072#1076
            end
            item
              Caption = #1053#1072#1095#1072#1083#1100#1085#1072#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1088#1077#1076#1085#1103#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1086#1090#1088#1091#1076#1085#1080#1082#1080
            end
            item
              Caption = #1044#1077#1090#1089#1082#1080#1081' '#1089#1072#1076
            end
            item
              Caption = #1053#1072#1095#1072#1083#1100#1085#1072#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1088#1077#1076#1085#1103#1103' '#1096#1082#1086#1083#1072
            end
            item
              Caption = #1057#1086#1090#1088#1091#1076#1085#1080#1082#1080
            end>
          object tvmenu_allRecId: TcxGridDBBandedColumn
            DataBinding.FieldName = 'RecId'
            Visible = False
            Position.BandIndex = 0
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allNUM: TcxGridDBBandedColumn
            Caption = #8470
            DataBinding.FieldName = 'num'
            Width = 38
            Position.BandIndex = 0
            Position.ColIndex = 3
            Position.RowIndex = 0
          end
          object tvmenu_allmctype: TcxGridDBBandedColumn
            Caption = #1055#1088#1080#1077#1084' '#1087#1080#1097#1080
            DataBinding.FieldName = 'gr1'
            Width = 22
            Position.BandIndex = 0
            Position.ColIndex = 1
            Position.RowIndex = 0
          end
          object tvmenu_allgr1: TcxGridDBBandedColumn
            Caption = #1055#1088#1080#1077#1084' '#1087#1080#1097#1080
            DataBinding.FieldName = 'gr1'
            Visible = False
            GroupIndex = 0
            Position.BandIndex = 0
            Position.ColIndex = 2
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES1n1: TcxGridDBBandedColumn
            Caption = '1-'#1081' '#1087#1086#1085#1077#1076#1077#1083#1100#1085#1080#1082
            DataBinding.FieldName = 'SDNAMES1n1'
            Width = 71
            Position.BandIndex = 1
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES2n1: TcxGridDBBandedColumn
            Caption = '1-'#1081' '#1074#1090#1086#1088#1085#1080#1082
            DataBinding.FieldName = 'SDNAMES2n1'
            Width = 71
            Position.BandIndex = 5
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES3n1: TcxGridDBBandedColumn
            Caption = '1-'#1103' '#1089#1088#1077#1076#1072
            DataBinding.FieldName = 'SDNAMES3n1'
            Width = 71
            Position.BandIndex = 9
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES4n1: TcxGridDBBandedColumn
            Caption = '1-'#1081' '#1095#1077#1090#1074#1077#1088#1075
            DataBinding.FieldName = 'SDNAMES4n1'
            Width = 71
            Position.BandIndex = 13
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES5n1: TcxGridDBBandedColumn
            Caption = '1-'#1103' '#1087#1103#1090#1085#1080#1094#1072
            DataBinding.FieldName = 'SDNAMES5n1'
            Width = 71
            Position.BandIndex = 17
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES6n1: TcxGridDBBandedColumn
            Caption = '1-'#1103' '#1089#1091#1073#1073#1086#1090#1072
            DataBinding.FieldName = 'SDNAMES6n1'
            Width = 71
            Position.BandIndex = 21
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES7n1: TcxGridDBBandedColumn
            Caption = '1-'#1077' '#1074#1086#1089#1082#1088#1077#1089#1077#1085#1100#1077
            DataBinding.FieldName = 'SDNAMES7n1'
            Width = 71
            Position.BandIndex = 25
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES8n1: TcxGridDBBandedColumn
            Caption = '2-'#1081' '#1087#1086#1085#1077#1076#1077#1083#1100#1085#1080#1082
            DataBinding.FieldName = 'SDNAMES8n1'
            Width = 71
            Position.BandIndex = 29
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES9n1: TcxGridDBBandedColumn
            Caption = '2-'#1081' '#1074#1090#1086#1088#1085#1080#1082
            DataBinding.FieldName = 'SDNAMES9n1'
            Width = 71
            Position.BandIndex = 33
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES10n1: TcxGridDBBandedColumn
            Caption = '2-'#1103' '#1089#1088#1077#1076#1072
            DataBinding.FieldName = 'SDNAMES10n1'
            Width = 77
            Position.BandIndex = 37
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES11n1: TcxGridDBBandedColumn
            Caption = '2-'#1081' '#1095#1077#1090#1074#1077#1088#1075
            DataBinding.FieldName = 'SDNAMES11n1'
            Width = 77
            Position.BandIndex = 41
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES12n1: TcxGridDBBandedColumn
            Caption = '2-'#1103' '#1087#1103#1090#1085#1080#1094#1072
            DataBinding.FieldName = 'SDNAMES12n1'
            Width = 77
            Position.BandIndex = 45
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES13n1: TcxGridDBBandedColumn
            Caption = '2-'#1103' '#1089#1091#1073#1073#1086#1090#1072
            DataBinding.FieldName = 'SDNAMES13n1'
            Width = 77
            Position.BandIndex = 49
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES14n1: TcxGridDBBandedColumn
            Caption = '2-'#1077' '#1074#1086#1082#1088#1077#1089#1077#1085#1100#1077
            DataBinding.FieldName = 'SDNAMES14n1'
            Width = 77
            Position.BandIndex = 53
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES2n2: TcxGridDBBandedColumn
            Caption = '1-'#1081' '#1074#1090#1086#1088#1085#1080#1082
            DataBinding.FieldName = 'SDNAMES2n2'
            Width = 71
            Position.BandIndex = 2
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES1n2: TcxGridDBBandedColumn
            Caption = '1-'#1081' '#1087#1086#1085#1077#1076#1077#1083#1100#1085#1080#1082
            DataBinding.FieldName = 'SDNAMES1n2'
            Width = 71
            Position.BandIndex = 6
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES3n2: TcxGridDBBandedColumn
            Caption = '1-'#1103' '#1089#1088#1077#1076#1072
            DataBinding.FieldName = 'SDNAMES3n2'
            Width = 71
            Position.BandIndex = 10
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES4n2: TcxGridDBBandedColumn
            Caption = '1-'#1081' '#1095#1077#1090#1074#1077#1088#1075
            DataBinding.FieldName = 'SDNAMES4n2'
            Width = 71
            Position.BandIndex = 14
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES5n2: TcxGridDBBandedColumn
            Caption = '1-'#1103' '#1087#1103#1090#1085#1080#1094#1072
            DataBinding.FieldName = 'SDNAMES5n2'
            Width = 71
            Position.BandIndex = 18
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES6n2: TcxGridDBBandedColumn
            Caption = '1-'#1103' '#1089#1091#1073#1073#1086#1090#1072
            DataBinding.FieldName = 'SDNAMES6n2'
            Width = 71
            Position.BandIndex = 22
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES7n2: TcxGridDBBandedColumn
            Caption = '1-'#1077' '#1074#1086#1089#1082#1088#1077#1089#1077#1085#1100#1077
            DataBinding.FieldName = 'SDNAMES7n2'
            Width = 71
            Position.BandIndex = 26
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES8n2: TcxGridDBBandedColumn
            Caption = '2-'#1081' '#1087#1086#1085#1077#1076#1077#1083#1100#1085#1080#1082
            DataBinding.FieldName = 'SDNAMES8n2'
            Width = 71
            Position.BandIndex = 30
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES9n2: TcxGridDBBandedColumn
            Caption = '2-'#1081' '#1074#1090#1086#1088#1085#1080#1082
            DataBinding.FieldName = 'SDNAMES9n2'
            Width = 71
            Position.BandIndex = 34
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES10n2: TcxGridDBBandedColumn
            Caption = '2-'#1103' '#1089#1088#1077#1076#1072
            DataBinding.FieldName = 'SDNAMES10n2'
            Width = 77
            Position.BandIndex = 38
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES11n2: TcxGridDBBandedColumn
            Caption = '2-'#1081' '#1095#1077#1090#1074#1077#1088#1075
            DataBinding.FieldName = 'SDNAMES11n2'
            Width = 77
            Position.BandIndex = 42
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES12n2: TcxGridDBBandedColumn
            Caption = '2-'#1103' '#1087#1103#1090#1085#1080#1094#1072
            DataBinding.FieldName = 'SDNAMES12n2'
            Width = 77
            Position.BandIndex = 46
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES13n2: TcxGridDBBandedColumn
            Caption = '2-'#1103' '#1089#1091#1073#1073#1086#1090#1072
            DataBinding.FieldName = 'SDNAMES13n2'
            Width = 77
            Position.BandIndex = 50
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES14n2: TcxGridDBBandedColumn
            Caption = '2-'#1077' '#1074#1086#1089#1082#1088#1077#1089#1077#1085#1100#1077
            DataBinding.FieldName = 'SDNAMES14n2'
            Width = 77
            Position.BandIndex = 54
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES1n3: TcxGridDBBandedColumn
            Caption = '1-'#1081' '#1087#1086#1085#1077#1076#1077#1083#1100#1085#1080#1082
            DataBinding.FieldName = 'SDNAMES1n3'
            Width = 71
            Position.BandIndex = 3
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES2n3: TcxGridDBBandedColumn
            Caption = '1-'#1081' '#1074#1090#1086#1088#1085#1080#1082
            DataBinding.FieldName = 'SDNAMES2n3'
            Width = 71
            Position.BandIndex = 7
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES3n3: TcxGridDBBandedColumn
            Caption = '1-'#1103' '#1089#1088#1077#1076#1072
            DataBinding.FieldName = 'SDNAMES3n3'
            Width = 71
            Position.BandIndex = 11
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES4n3: TcxGridDBBandedColumn
            Caption = '1-'#1081' '#1095#1077#1090#1074#1077#1088#1075
            DataBinding.FieldName = 'SDNAMES4n3'
            Width = 71
            Position.BandIndex = 15
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES5n3: TcxGridDBBandedColumn
            Caption = '1-'#1103' '#1087#1103#1090#1085#1080#1094#1072
            DataBinding.FieldName = 'SDNAMES5n3'
            Width = 71
            Position.BandIndex = 19
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES6n3: TcxGridDBBandedColumn
            Caption = '1-'#1103' '#1089#1091#1073#1073#1086#1090#1072
            DataBinding.FieldName = 'SDNAMES6n3'
            Width = 71
            Position.BandIndex = 23
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES7n3: TcxGridDBBandedColumn
            Caption = '1-'#1077' '#1074#1086#1089#1082#1088#1077#1089#1077#1085#1100#1077
            DataBinding.FieldName = 'SDNAMES7n3'
            Width = 71
            Position.BandIndex = 27
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES8n3: TcxGridDBBandedColumn
            Caption = '2-'#1081' '#1087#1086#1085#1077#1076#1077#1083#1100#1085#1080#1082
            DataBinding.FieldName = 'SDNAMES8n3'
            Width = 71
            Position.BandIndex = 31
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES9n3: TcxGridDBBandedColumn
            Caption = '2-'#1081' '#1074#1090#1086#1088#1085#1080#1082
            DataBinding.FieldName = 'SDNAMES9n3'
            Width = 71
            Position.BandIndex = 35
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES10n3: TcxGridDBBandedColumn
            Caption = '2-'#1103' '#1089#1088#1077#1076#1072
            DataBinding.FieldName = 'SDNAMES10n3'
            Width = 77
            Position.BandIndex = 39
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES11n3: TcxGridDBBandedColumn
            Caption = '2-'#1081' '#1095#1077#1090#1074#1077#1088#1075
            DataBinding.FieldName = 'SDNAMES11n3'
            Width = 77
            Position.BandIndex = 43
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES12n3: TcxGridDBBandedColumn
            Caption = '2-'#1103' '#1087#1103#1090#1085#1080#1094#1072
            DataBinding.FieldName = 'SDNAMES12n3'
            Width = 77
            Position.BandIndex = 47
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES13n3: TcxGridDBBandedColumn
            Caption = '2-'#1103' '#1089#1091#1073#1073#1086#1090#1072
            DataBinding.FieldName = 'SDNAMES13n3'
            Width = 77
            Position.BandIndex = 51
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES14n3: TcxGridDBBandedColumn
            Caption = '2-'#1077' '#1074#1086#1089#1082#1088#1077#1089#1077#1085#1100#1077
            DataBinding.FieldName = 'SDNAMES14n3'
            Width = 77
            Position.BandIndex = 55
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES1n4: TcxGridDBBandedColumn
            Caption = '1-'#1081' '#1087#1086#1085#1077#1076#1077#1083#1100#1085#1080#1082
            DataBinding.FieldName = 'SDNAMES1n4'
            Width = 71
            Position.BandIndex = 4
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES2n4: TcxGridDBBandedColumn
            Caption = '1-'#1081' '#1074#1090#1086#1088#1085#1080#1082
            DataBinding.FieldName = 'SDNAMES2n4'
            Width = 71
            Position.BandIndex = 8
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES3n4: TcxGridDBBandedColumn
            Caption = '1-'#1103' '#1089#1088#1077#1076#1072
            DataBinding.FieldName = 'SDNAMES3n4'
            Width = 71
            Position.BandIndex = 12
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES4n4: TcxGridDBBandedColumn
            Caption = '1-'#1081' '#1095#1077#1090#1074#1077#1088#1075
            DataBinding.FieldName = 'SDNAMES4n4'
            Width = 71
            Position.BandIndex = 16
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES5n4: TcxGridDBBandedColumn
            Caption = '1-'#1103' '#1087#1103#1090#1085#1080#1094#1072
            DataBinding.FieldName = 'SDNAMES5n4'
            Width = 71
            Position.BandIndex = 20
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES6n4: TcxGridDBBandedColumn
            Caption = '1-'#1103' '#1089#1091#1073#1073#1086#1090#1072
            DataBinding.FieldName = 'SDNAMES6n4'
            Width = 71
            Position.BandIndex = 24
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES7n4: TcxGridDBBandedColumn
            Caption = '1-'#1077' '#1074#1086#1089#1082#1088#1077#1089#1077#1085#1100#1077
            DataBinding.FieldName = 'SDNAMES7n4'
            Width = 71
            Position.BandIndex = 28
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES8n4: TcxGridDBBandedColumn
            Caption = '2-'#1081' '#1087#1086#1085#1077#1076#1077#1083#1100#1085#1080#1082
            DataBinding.FieldName = 'SDNAMES8n4'
            Width = 71
            Position.BandIndex = 32
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES9n4: TcxGridDBBandedColumn
            Caption = '2-'#1081' '#1074#1090#1086#1088#1085#1080#1082
            DataBinding.FieldName = 'SDNAMES9n4'
            Width = 71
            Position.BandIndex = 36
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES10n4: TcxGridDBBandedColumn
            Caption = '2-'#1103' '#1089#1088#1077#1076#1072
            DataBinding.FieldName = 'SDNAMES10n4'
            Width = 77
            Position.BandIndex = 40
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES11n4: TcxGridDBBandedColumn
            Caption = '2-'#1081' '#1095#1077#1090#1074#1077#1088#1075
            DataBinding.FieldName = 'SDNAMES11n4'
            Width = 77
            Position.BandIndex = 44
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES12n4: TcxGridDBBandedColumn
            Caption = '2-'#1103' '#1087#1103#1090#1085#1080#1094#1072
            DataBinding.FieldName = 'SDNAMES12n4'
            Width = 77
            Position.BandIndex = 48
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES13n4: TcxGridDBBandedColumn
            Caption = '2-'#1103' '#1089#1091#1073#1073#1086#1090#1072
            DataBinding.FieldName = 'SDNAMES13n4'
            Width = 77
            Position.BandIndex = 52
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object tvmenu_allSDNAMES14n4: TcxGridDBBandedColumn
            Caption = '2-'#1077' '#1074#1086#1089#1082#1088#1077#1089#1077#1085#1100#1077
            DataBinding.FieldName = 'SDNAMES14n4'
            Width = 77
            Position.BandIndex = 56
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
        end
        object cxGridLevel1: TcxGridLevel
          GridView = tvmenu_all
        end
      end
    end
  end
  object dxBarManager1: TdxBarManager
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -12
    Font.Name = 'Segoe UI'
    Font.Style = []
    Categories.Strings = (
      'Default')
    Categories.ItemsVisibles = (
      2)
    Categories.Visibles = (
      True)
    ImageOptions.Images = DMInv.cxSmallImages
    PopupMenuLinks = <>
    ShowHint = False
    UseSystemFont = True
    Left = 210
    Top = 31
    DockControlHeights = (
      0
      0
      0
      0)
    object dxBarManager1Bar1: TdxBar
      AllowClose = False
      AllowCustomizing = False
      AllowQuickCustomizing = False
      AllowReset = False
      Caption = 'Custom 1'
      CaptionButtons = <>
      DockControl = dxBarDockControl1
      DockedDockControl = dxBarDockControl1
      DockedLeft = 0
      DockedTop = 0
      FloatLeft = 98
      FloatTop = 89
      FloatClientWidth = 0
      FloatClientHeight = 0
      ItemLinks = <
        item
          Visible = True
          ItemName = 'dxBarButton32'
        end
        item
          Visible = True
          ItemName = 'dxBarButton33'
        end
        item
          Visible = True
          ItemName = 'dxBarButton34'
        end
        item
          Visible = True
          ItemName = 'dxBarButton35'
        end
        item
          UserDefine = [udWidth]
          UserWidth = 139
          Visible = True
          ItemName = 'beDate'
        end>
      NotDocking = [dsNone, dsLeft, dsTop, dsRight, dsBottom]
      OneOnRow = True
      Row = 0
      SizeGrip = False
      UseOwnFont = False
      UseRecentItems = False
      UseRestSpace = True
      Visible = True
      WholeRow = False
    end
    object dxBarManager1Bar2: TdxBar
      AllowClose = False
      AllowCustomizing = False
      AllowQuickCustomizing = False
      AllowReset = False
      Caption = 'Custom 2'
      CaptionButtons = <>
      DockControl = dxBarDockControl2
      DockedDockControl = dxBarDockControl2
      DockedLeft = 0
      DockedTop = 0
      FloatLeft = 197
      FloatTop = 145
      FloatClientWidth = 0
      FloatClientHeight = 0
      ItemLinks = <
        item
          Visible = True
          ItemName = 'dxBarButton36'
        end
        item
          Visible = True
          ItemName = 'dxBarButton43'
        end
        item
          Visible = True
          ItemName = 'dxBarButton37'
        end
        item
          BeginGroup = True
          Visible = True
          ItemName = 'dxBarButton40'
        end
        item
          BeginGroup = True
          Visible = True
          ItemName = 'dxBarButton41'
        end
        item
          BeginGroup = True
          Visible = True
          ItemName = 'beSelectWeekForPrint'
        end
        item
          Visible = True
          ItemName = 'dxBarButton1'
        end>
      NotDocking = [dsNone, dsLeft, dsTop, dsRight, dsBottom]
      OneOnRow = True
      Row = 0
      SizeGrip = False
      UseOwnFont = False
      UseRecentItems = False
      UseRestSpace = True
      Visible = True
      WholeRow = False
    end
    object dxBarManager1Bar3: TdxBar
      AllowClose = False
      AllowCustomizing = False
      AllowQuickCustomizing = False
      AllowReset = False
      Caption = 'Custom 3'
      CaptionButtons = <>
      DockControl = dxBarDockControl3
      DockedDockControl = dxBarDockControl3
      DockedLeft = 0
      DockedTop = 0
      FloatLeft = 204
      FloatTop = 101
      FloatClientWidth = 0
      FloatClientHeight = 0
      ItemLinks = <
        item
          UserDefine = [udWidth]
          UserWidth = 143
          Visible = True
          ItemName = 'beDateAll'
        end>
      NotDocking = [dsNone, dsLeft, dsTop, dsRight, dsBottom]
      OneOnRow = True
      Row = 0
      SizeGrip = False
      UseOwnFont = False
      Visible = True
      WholeRow = False
    end
    object dxBarButton32: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 51
      OnClick = dxBarButton32Click
    end
    object dxBarButton33: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 41
      OnClick = dxBarButton33Click
    end
    object dxBarButton34: TdxBarButton
      Category = 0
      Visible = ivNever
      ImageIndex = 54
    end
    object dxBarButton35: TdxBarButton
      Category = 0
      Visible = ivNever
      ImageIndex = 46
    end
    object beDate: TcxBarEditItem
      Caption = #1053#1072' '#1076#1072#1090#1091
      Category = 0
      Hint = #1053#1072' '#1076#1072#1090#1091
      Visible = ivAlways
      ShowCaption = True
      Width = 100
      PropertiesClassName = 'TcxDateEditProperties'
      Properties.OnCloseUp = beDatePropertiesCloseUp
    end
    object dxBarButton36: TdxBarButton
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivAlways
      ImageIndex = 51
      OnClick = dxBarButton36Click
    end
    object dxBarButton37: TdxBarButton
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivAlways
      ImageIndex = 46
      OnClick = dxBarButton37Click
    end
    object dxBarButton40: TdxBarButton
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivAlways
      Glyph.Data = {
        56020000424D560200000000000076000000280000001E0000001E0000000100
        040000000000E001000000000000000000001000000000000000000000000000
        8000008000000080800080000000800080008080000080808000C0C0C0000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00000000000000
        00000000000000000002077777777777777777777777777770020F7777777777
        777777777777777770D40F8888888888888888888888888770B90F8888888888
        888888888888888770000F8888888888888888888888888770000F8888888888
        800000000000088770000F888888888880FF8FFF8FFF088770000F8888888888
        80FF8FFF8FFF088770000F8888888888807777777777088770000F8880000088
        80FF8FFF8FFF088770000F888066608880FF8FFF8FFF088770000F8880666088
        807777777777088770000F888066608880FF8FFF8FFF088770000F8000666000
        80FF8FFF8FFF088770000F8806666608807777777777088770000F8880666088
        80FF8FFF8FFF088770000F888806088880FF8FFF8FFF088770000F8888808888
        807777777777088770000F888888888880FF8FFF8FFF088770000F8888888888
        80FF8FFF8FFF088770000F8888888888807777777777088770000F8888888888
        80FF8FFF8FFF088770000F888888888880FF8FFF8FFF088770000F8888888888
        800000000000088770000F8888888888888888888888888770000F8888888888
        888888888888888770000F8888888888888888888888888770000FFFFFFFFFFF
        FFFFFFFFFFFFFFFF7000000000000000000000000000000000C5}
      OnClick = dxBarButton40Click
    end
    object dxBarButton41: TdxBarButton
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivAlways
      Glyph.Data = {
        56020000424D560200000000000076000000280000001E0000001E0000000100
        040000000000E001000000000000000000001000000000000000000000000000
        8000008000000080800080000000800080008080000080808000C0C0C0000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00000000000000
        00000000000000000000077777777777777777777777777770000F7777777777
        777777777777777770560F8888888888888888888888888770DD0F8888888888
        888888888888888770260F8888888888888888888888888770000F8888888888
        800000000000088770270F888888888880FF8FFF8FFF088770FB0F8888888888
        80FF8FFF8FFF088770F30F8888888888807777777777088770F30F8888888888
        80FF8FFF8FFF088770F30F888888888880FF8FFF8FFF088770F30F8888808888
        807777777777088770F70F888806088880FF8FFF8FFF088770B70F8880666088
        80FF8FFF8FFF088770370F8806666608807777777777088770370F8000666000
        80FF8FFF8FFF088770370F888066608880FF8FFF8FFF088770330F8880666088
        807777777777088770330F888066608880FF8FFF8FFF088770000F8880000088
        80FF8FFF8FFF088770000F8888888888807777777777088770000F8888888888
        80FF8FFF8FFF088770440F888888888880FF8FFF8FFF088770330F8888888888
        800000000000088770BB0F8888888888888888888888888770880F8888888888
        888888888888888770000F8888888888888888888888888770000FFFFFFFFFFF
        FFFFFFFFFFFFFFFF700000000000000000000000000000000000}
      OnClick = dxBarButton41Click
    end
    object beDateAll: TcxBarEditItem
      Caption = #1053#1072' '#1076#1072#1090#1091
      Category = 0
      Hint = #1053#1072' '#1076#1072#1090#1091
      Visible = ivAlways
      ShowCaption = True
      Width = 100
      PropertiesClassName = 'TcxDateEditProperties'
      Properties.OnCloseUp = beDateAllPropertiesCloseUp
    end
    object dxBarButton43: TdxBarButton
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivNever
      ImageIndex = 41
    end
    object dxBarButton1: TdxBarButton
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivAlways
      ImageIndex = 3
      OnClick = dxBarButton1Click
    end
    object beSelectWeekForPrint: TcxBarEditItem
      Caption = 'New Item'
      Category = 0
      Hint = 'New Item'
      Visible = ivAlways
      Width = 100
      PropertiesClassName = 'TcxComboBoxProperties'
      Properties.DropDownRows = 4
      Properties.Items.Strings = (
        '1-'#1103' '#1085#1077#1076#1077#1083#1103
        '2-'#1103' '#1085#1077#1076#1077#1083#1103
        '3-'#1103' '#1085#1077#1076#1077#1083#1103
        '4-'#1103' '#1085#1077#1076#1077#1083#1103)
      Properties.ReadOnly = False
      InternalEditValue = '1-'#1103' '#1085#1077#1076#1077#1083#1103
    end
  end
  object dsMenu: TDataSource
    DataSet = qMenu
    OnDataChange = dsMenuDataChange
    Left = 88
    Top = 72
  end
  object qMenu: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    DataSource = dlgDS
    SQL.Strings = (
      'select * from (select first 1 m1.datein as din, m1.*'
      'from f_menu m1'
      
        'where m1.misdelete is null and m1.mtype=1 and (CAST(:date AS DAT' +
        'E) BETWEEN m1.datebegin AND m1.DATEEND)'
      'order by m1.datein desc , m1.mid desc ) t1'
      'union'
      'select * from (select first 1 m2.datein as din, m2.*'
      'from f_menu m2'
      
        'where m2.misdelete is null and m2.mtype=2 and (CAST(:date AS DAT' +
        'E) BETWEEN m2.datebegin AND m2.DATEEND)'
      'order by m2.datein desc , m2.mid desc ) t2'
      'union'
      'select * from (select first 1 m3.datein as din, m3.*'
      'from f_menu m3'
      
        'where m3.misdelete is null and m3.mtype=3 and (CAST(:date AS DAT' +
        'E) BETWEEN m3.datebegin AND m3.DATEEND)'
      'order by m3.datein desc , m3.mid desc ) t3'
      'union'
      'select * from (select first 1 m4.datein as din, m4.*'
      'from f_menu m4'
      
        'where m4.misdelete is null and m4.mtype=4 and (CAST(:date AS DAT' +
        'E) BETWEEN m4.datebegin AND m4.DATEEND)'
      'order by m4.datein desc , m4.mid desc ) t4')
    GeneratorField.Field = 'SDID'
    Left = 144
    Top = 80
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'date'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'date'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'date'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'date'
        ParamType = ptUnknown
      end>
    object qMenuMID: TIntegerField
      FieldName = 'MID'
      Origin = '"F_MENU"."MID"'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object qMenuMNAME: TIBStringField
      FieldName = 'MNAME'
      Origin = '"F_MENU"."MNAME"'
      Size = 40
    end
    object qMenuDATEBEGIN: TDateField
      FieldName = 'DATEBEGIN'
      Origin = '"F_MENU"."DATEBEGIN"'
    end
    object qMenuDATEEND: TDateField
      FieldName = 'DATEEND'
      Origin = '"F_MENU"."DATEEND"'
    end
    object qMenuDATEIN: TDateField
      FieldName = 'DATEIN'
      Origin = '"F_MENU"."DATEIN"'
    end
    object qMenuMTYPE: TIntegerField
      FieldName = 'MTYPE'
      Origin = '"F_MENU"."MTYPE"'
    end
    object qMenuMUSERENTER: TIBStringField
      FieldName = 'MUSERENTER'
      Origin = '"F_MENU"."MUSERENTER"'
      Size = 40
    end
    object qMenuMTIMEENTER: TDateTimeField
      FieldName = 'MTIMEENTER'
      Origin = '"F_MENU"."MTIMEENTER"'
    end
    object qMenuMUSEREDIT: TIBStringField
      FieldName = 'MUSEREDIT'
      Origin = '"F_MENU"."MUSEREDIT"'
      Size = 40
    end
    object qMenuMTIMEEDIT: TDateTimeField
      FieldName = 'MTIMEEDIT'
      Origin = '"F_MENU"."MTIMEEDIT"'
    end
    object qMenuMISDELETE: TIntegerField
      FieldName = 'MISDELETE'
      Origin = '"F_MENU"."MISDELETE"'
    end
  end
  object dsMenuContent: TDataSource
    DataSet = qMenuContent
    Left = 408
    Top = 32
  end
  object qMenuContent: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    CachedUpdates = True
    DataSource = dsMenu
    SQL.Strings = (
      'select MC.*,'
      '       case'
      'when MC.MCTYPE = 0 then '#39#1047#1072#1074#1090#1088#1072#1082' '#8470'0'#39'         '
      'when MC.MCTYPE = 1 then '#39#1047#1072#1074#1090#1088#1072#1082' '#8470'1'#39
      '         when MC.MCTYPE = 2 then '#39#1047#1072#1074#1090#1088#1072#1082' '#8470'2'#39
      '         when MC.MCTYPE = 3 then '#39#1054#1073#1077#1076#39
      '         when MC.MCTYPE = 4 then '#39#1055#1086#1083#1076#1085#1080#1082#39
      '         when MC.MCTYPE = 5 then '#39#1059#1078#1080#1085' '#8470'1'#39
      '         when MC.MCTYPE = 6 then '#39#1059#1078#1080#1085' '#8470'2'#39
      '       end as GR,'
      
        '       SD1.SDNAME as SDNAMES1, SD2.SDNAME as SDNAMES2, SD3.SDNAM' +
        'E as SDNAMES3, SD4.SDNAME as SDNAMES4,'
      
        '       SD5.SDNAME as SDNAMES5, SD6.SDNAME as SDNAMES6, SD7.SDNAM' +
        'E as SDNAMES7, SD8.SDNAME as SDNAMES8,'
      
        '       SD9.SDNAME as SDNAMES9, SD10.SDNAME as SDNAMES10, SD11.SD' +
        'NAME as SDNAMES11, SD12.SDNAME as SDNAMES12,'
      '       SD13.SDNAME as SDNAMES13, SD14.SDNAME as SDNAMES14,'
      '       SD15.SDNAME as SDNAMES15,'
      '       SD16.SDNAME as SDNAMES16,'
      '       SD17.SDNAME as SDNAMES17,'
      '       SD18.SDNAME as SDNAMES18,'
      '       SD19.SDNAME as SDNAMES19,'
      '       SD20.SDNAME as SDNAMES20,'
      '       SD21.SDNAME as SDNAMES21,'
      '       SD22.SDNAME as SDNAMES22,'
      '       SD23.SDNAME as SDNAMES23,'
      '       SD24.SDNAME as SDNAMES24,'
      '       SD25.SDNAME as SDNAMES25,'
      '       SD26.SDNAME as SDNAMES26,'
      '       SD27.SDNAME as SDNAMES27,'
      '       SD28.SDNAME as SDNAMES28'
      'from F_MENU_CONTENT MC'
      'left join SYS_DIC SD1 on SD1.SDID = MC.MCSDID1'
      'left join SYS_DIC SD2 on SD2.SDID = MC.MCSDID2'
      'left join SYS_DIC SD3 on SD3.SDID = MC.MCSDID3'
      'left join SYS_DIC SD4 on SD4.SDID = MC.MCSDID4'
      'left join SYS_DIC SD5 on SD5.SDID = MC.MCSDID5'
      'left join SYS_DIC SD6 on SD6.SDID = MC.MCSDID6'
      'left join SYS_DIC SD7 on SD7.SDID = MC.MCSDID7'
      'left join SYS_DIC SD8 on SD8.SDID = MC.MCSDID8'
      'left join SYS_DIC SD9 on SD9.SDID = MC.MCSDID9'
      'left join SYS_DIC SD10 on SD10.SDID = MC.MCSDID10'
      'left join SYS_DIC SD11 on SD11.SDID = MC.MCSDID11'
      'left join SYS_DIC SD12 on SD12.SDID = MC.MCSDID12'
      'left join SYS_DIC SD13 on SD13.SDID = MC.MCSDID13'
      'left join SYS_DIC SD14 on SD14.SDID = MC.MCSDID14'
      'left join SYS_DIC SD15 on SD15.SDID = MC.MCSDID15'
      'left join SYS_DIC SD16 on SD16.SDID = MC.MCSDID16'
      'left join SYS_DIC SD17 on SD17.SDID = MC.MCSDID17'
      'left join SYS_DIC SD18 on SD18.SDID = MC.MCSDID18'
      'left join SYS_DIC SD19 on SD19.SDID = MC.MCSDID19'
      'left join SYS_DIC SD20 on SD20.SDID = MC.MCSDID20'
      'left join SYS_DIC SD21 on SD21.SDID = MC.MCSDID21'
      'left join SYS_DIC SD22 on SD22.SDID = MC.MCSDID22'
      'left join SYS_DIC SD23 on SD23.SDID = MC.MCSDID23'
      'left join SYS_DIC SD24 on SD24.SDID = MC.MCSDID24'
      'left join SYS_DIC SD25 on SD25.SDID = MC.MCSDID25'
      'left join SYS_DIC SD26 on SD26.SDID = MC.MCSDID26'
      'left join SYS_DIC SD27 on SD27.SDID = MC.MCSDID27'
      'left join SYS_DIC SD28 on SD28.SDID = MC.MCSDID28'
      'where MC.MCISDELETE is null and'
      '      MC.MID = :MID'
      'order by MC.MCTYPE, mc.num')
    UpdateObject = quMenuContent
    GeneratorField.Field = 'SDID'
    Left = 448
    Top = 32
    ParamData = <
      item
        DataType = ftInteger
        Name = 'MID'
        ParamType = ptUnknown
        Size = 4
      end>
    object qMenuContentMCID: TIntegerField
      FieldName = 'MCID'
      Origin = '"F_MENU_CONTENT"."MCID"'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object qMenuContentMID: TIntegerField
      FieldName = 'MID'
      Origin = '"F_MENU_CONTENT"."MID"'
    end
    object qMenuContentMCTYPE: TIntegerField
      FieldName = 'MCTYPE'
      Origin = '"F_MENU_CONTENT"."MCTYPE"'
    end
    object qMenuContentNUM: TIntegerField
      FieldName = 'NUM'
      Origin = '"F_MENU_CONTENT"."NUM"'
    end
    object qMenuContentMCSDID1: TIntegerField
      FieldName = 'MCSDID1'
      Origin = '"F_MENU_CONTENT"."MCSDID1"'
    end
    object qMenuContentMCSDID2: TIntegerField
      FieldName = 'MCSDID2'
      Origin = '"F_MENU_CONTENT"."MCSDID2"'
    end
    object qMenuContentMCSDID3: TIntegerField
      FieldName = 'MCSDID3'
      Origin = '"F_MENU_CONTENT"."MCSDID3"'
    end
    object qMenuContentMCSDID4: TIntegerField
      FieldName = 'MCSDID4'
      Origin = '"F_MENU_CONTENT"."MCSDID4"'
    end
    object qMenuContentMCSDID5: TIntegerField
      FieldName = 'MCSDID5'
      Origin = '"F_MENU_CONTENT"."MCSDID5"'
    end
    object qMenuContentMCSDID6: TIntegerField
      FieldName = 'MCSDID6'
      Origin = '"F_MENU_CONTENT"."MCSDID6"'
    end
    object qMenuContentMCSDID7: TIntegerField
      FieldName = 'MCSDID7'
      Origin = '"F_MENU_CONTENT"."MCSDID7"'
    end
    object qMenuContentMCSDID8: TIntegerField
      FieldName = 'MCSDID8'
      Origin = '"F_MENU_CONTENT"."MCSDID8"'
    end
    object qMenuContentMCSDID9: TIntegerField
      FieldName = 'MCSDID9'
      Origin = '"F_MENU_CONTENT"."MCSDID9"'
    end
    object qMenuContentMCSDID10: TIntegerField
      FieldName = 'MCSDID10'
      Origin = '"F_MENU_CONTENT"."MCSDID10"'
    end
    object qMenuContentMCSDID11: TIntegerField
      FieldName = 'MCSDID11'
      Origin = '"F_MENU_CONTENT"."MCSDID11"'
    end
    object qMenuContentMCSDID12: TIntegerField
      FieldName = 'MCSDID12'
      Origin = '"F_MENU_CONTENT"."MCSDID12"'
    end
    object qMenuContentMCSDID13: TIntegerField
      FieldName = 'MCSDID13'
      Origin = '"F_MENU_CONTENT"."MCSDID13"'
    end
    object qMenuContentMCSDID14: TIntegerField
      FieldName = 'MCSDID14'
      Origin = '"F_MENU_CONTENT"."MCSDID14"'
    end
    object qMenuContentMCSDID15: TIntegerField
      FieldName = 'MCSDID15'
      Origin = '"F_MENU_CONTENT"."MCSDID15"'
    end
    object qMenuContentMCSDID16: TIntegerField
      FieldName = 'MCSDID16'
      Origin = '"F_MENU_CONTENT"."MCSDID16"'
    end
    object qMenuContentMCSDID17: TIntegerField
      FieldName = 'MCSDID17'
      Origin = '"F_MENU_CONTENT"."MCSDID17"'
    end
    object qMenuContentMCSDID18: TIntegerField
      FieldName = 'MCSDID18'
      Origin = '"F_MENU_CONTENT"."MCSDID18"'
    end
    object qMenuContentMCSDID19: TIntegerField
      FieldName = 'MCSDID19'
      Origin = '"F_MENU_CONTENT"."MCSDID19"'
    end
    object qMenuContentMCSDID20: TIntegerField
      FieldName = 'MCSDID20'
      Origin = '"F_MENU_CONTENT"."MCSDID20"'
    end
    object qMenuContentMCSDID21: TIntegerField
      FieldName = 'MCSDID21'
      Origin = '"F_MENU_CONTENT"."MCSDID21"'
    end
    object qMenuContentMCSDID22: TIntegerField
      FieldName = 'MCSDID22'
      Origin = '"F_MENU_CONTENT"."MCSDID22"'
    end
    object qMenuContentMCSDID23: TIntegerField
      FieldName = 'MCSDID23'
      Origin = '"F_MENU_CONTENT"."MCSDID23"'
    end
    object qMenuContentMCSDID24: TIntegerField
      FieldName = 'MCSDID24'
      Origin = '"F_MENU_CONTENT"."MCSDID24"'
    end
    object qMenuContentMCSDID25: TIntegerField
      FieldName = 'MCSDID25'
      Origin = '"F_MENU_CONTENT"."MCSDID25"'
    end
    object qMenuContentMCSDID26: TIntegerField
      FieldName = 'MCSDID26'
      Origin = '"F_MENU_CONTENT"."MCSDID26"'
    end
    object qMenuContentMCSDID27: TIntegerField
      FieldName = 'MCSDID27'
      Origin = '"F_MENU_CONTENT"."MCSDID27"'
    end
    object qMenuContentMCSDID28: TIntegerField
      FieldName = 'MCSDID28'
      Origin = '"F_MENU_CONTENT"."MCSDID28"'
    end
    object qMenuContentMCUSERENTER: TIBStringField
      FieldName = 'MCUSERENTER'
      Origin = '"F_MENU_CONTENT"."MCUSERENTER"'
      Size = 40
    end
    object qMenuContentMCTIMEENTER: TDateTimeField
      FieldName = 'MCTIMEENTER'
      Origin = '"F_MENU_CONTENT"."MCTIMEENTER"'
    end
    object qMenuContentMCUSEREDIT: TIBStringField
      FieldName = 'MCUSEREDIT'
      Origin = '"F_MENU_CONTENT"."MCUSEREDIT"'
      Size = 40
    end
    object qMenuContentMCTIMEEDIT: TDateTimeField
      FieldName = 'MCTIMEEDIT'
      Origin = '"F_MENU_CONTENT"."MCTIMEEDIT"'
    end
    object qMenuContentMCISDELETE: TIntegerField
      FieldName = 'MCISDELETE'
      Origin = '"F_MENU_CONTENT"."MCISDELETE"'
    end
    object qMenuContentGR: TIBStringField
      FieldName = 'GR'
      ProviderFlags = []
      FixedChar = True
      Size = 10
    end
    object qMenuContentSDNAMES1: TIBStringField
      FieldName = 'SDNAMES1'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES2: TIBStringField
      FieldName = 'SDNAMES2'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES3: TIBStringField
      FieldName = 'SDNAMES3'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES4: TIBStringField
      FieldName = 'SDNAMES4'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES5: TIBStringField
      FieldName = 'SDNAMES5'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES6: TIBStringField
      FieldName = 'SDNAMES6'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES7: TIBStringField
      FieldName = 'SDNAMES7'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES8: TIBStringField
      FieldName = 'SDNAMES8'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES9: TIBStringField
      FieldName = 'SDNAMES9'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES10: TIBStringField
      FieldName = 'SDNAMES10'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES11: TIBStringField
      FieldName = 'SDNAMES11'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES12: TIBStringField
      FieldName = 'SDNAMES12'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES13: TIBStringField
      FieldName = 'SDNAMES13'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES14: TIBStringField
      FieldName = 'SDNAMES14'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES15: TIBStringField
      FieldName = 'SDNAMES15'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES16: TIBStringField
      FieldName = 'SDNAMES16'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES17: TIBStringField
      FieldName = 'SDNAMES17'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES18: TIBStringField
      FieldName = 'SDNAMES18'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES19: TIBStringField
      FieldName = 'SDNAMES19'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES20: TIBStringField
      FieldName = 'SDNAMES20'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES21: TIBStringField
      FieldName = 'SDNAMES21'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES22: TIBStringField
      FieldName = 'SDNAMES22'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES23: TIBStringField
      FieldName = 'SDNAMES23'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES24: TIBStringField
      FieldName = 'SDNAMES24'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES25: TIBStringField
      FieldName = 'SDNAMES25'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES26: TIBStringField
      FieldName = 'SDNAMES26'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES27: TIBStringField
      FieldName = 'SDNAMES27'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES28: TIBStringField
      FieldName = 'SDNAMES28'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
  end
  object dsSumTechMap: TDataSource
    DataSet = qSumTechMap
    Left = 120
    Top = 280
  end
  object qSumTechMap: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    CachedUpdates = True
    DataSource = dlgDS
    SQL.Strings = (
      
        'select MC.MCSDID1 as MCID, sum(TM.ENERGYVAL) as ENERGYVAL, sum(T' +
        'M.PROTEINS) as PROTEINS, sum(TM.FATS) as FATS,'
      
        '       sum(TM.CARBOHYDRATES) as CARBOHYDRATES, sum(TM.CACALCIUM)' +
        ' as CACALCIUM, sum(TM.MAGNESIUM) as MAGNESIUM,'
      
        '       sum(TM.PHOSPHORUS) as PHOSPHORUS, sum(TM.FERRUM) as FERRU' +
        'M, sum(TM.VIT_A) as VIT_A, sum(TM.VIT_B1) as VIT_B1,'
      
        '       sum(TM.VIT_B2) as VIT_B2, sum(TM.VIT_PP) as VIT_PP, sum(T' +
        'M.VIT_C) as VIT_C, sum(TM.VIT_E) as VIT_E'
      'from F_MENU_CONTENT MC'
      'left join F_TECHMAP TM on TM.TMSDID = MC.MCSDID1'
      'where (MC.MID = :MID) and'
      '      (MC.MCSDID1 is not null) and'
      '      (MC.MCISDELETE is null)'
      'group by 1  ')
    GeneratorField.Field = 'SDID'
    Left = 160
    Top = 280
    ParamData = <
      item
        DataType = ftString
        Name = 'MID'
        ParamType = ptUnknown
        Value = '26'
      end>
    object qSumTechMapENERGYVAL: TIBBCDField
      FieldName = 'ENERGYVAL'
      ProviderFlags = []
      Precision = 18
      Size = 2
    end
    object qSumTechMapPROTEINS: TIBBCDField
      FieldName = 'PROTEINS'
      ProviderFlags = []
      Precision = 18
      Size = 2
    end
    object qSumTechMapFATS: TIBBCDField
      FieldName = 'FATS'
      ProviderFlags = []
      Precision = 18
      Size = 2
    end
    object qSumTechMapCARBOHYDRATES: TIBBCDField
      FieldName = 'CARBOHYDRATES'
      ProviderFlags = []
      Precision = 18
      Size = 2
    end
    object qSumTechMapCACALCIUM: TIBBCDField
      FieldName = 'CACALCIUM'
      ProviderFlags = []
      Precision = 18
      Size = 2
    end
    object qSumTechMapMAGNESIUM: TIBBCDField
      FieldName = 'MAGNESIUM'
      ProviderFlags = []
      Precision = 18
      Size = 2
    end
    object qSumTechMapPHOSPHORUS: TIBBCDField
      FieldName = 'PHOSPHORUS'
      ProviderFlags = []
      Precision = 18
      Size = 2
    end
    object qSumTechMapFERRUM: TIBBCDField
      FieldName = 'FERRUM'
      ProviderFlags = []
      Precision = 18
      Size = 2
    end
    object qSumTechMapVIT_A: TIBBCDField
      FieldName = 'VIT_A'
      ProviderFlags = []
      Precision = 18
      Size = 2
    end
    object qSumTechMapVIT_B1: TIBBCDField
      FieldName = 'VIT_B1'
      ProviderFlags = []
      Precision = 18
      Size = 2
    end
    object qSumTechMapVIT_B2: TIBBCDField
      FieldName = 'VIT_B2'
      ProviderFlags = []
      Precision = 18
      Size = 2
    end
    object qSumTechMapVIT_PP: TIBBCDField
      FieldName = 'VIT_PP'
      ProviderFlags = []
      Precision = 18
      Size = 2
    end
    object qSumTechMapVIT_C: TIBBCDField
      FieldName = 'VIT_C'
      ProviderFlags = []
      Precision = 18
      Size = 2
    end
    object qSumTechMapVIT_E: TIBBCDField
      FieldName = 'VIT_E'
      ProviderFlags = []
      Precision = 18
      Size = 2
    end
  end
  object quMenuContent: TIBUpdateSQL
    RefreshSQL.Strings = (
      'Select '
      '  MCID,'
      '  MID,'
      '  MCTYPE,'
      '  NUM,'
      '  MCSDID1,'
      '  MCSDID2,'
      '  MCSDID3,'
      '  MCSDID4,'
      '  MCSDID5,'
      '  MCSDID6,'
      '  MCSDID7,'
      '  MCSDID8,'
      '  MCSDID9,'
      '  MCSDID10,'
      '  MCSDID11,'
      '  MCSDID12,'
      '  MCSDID13,'
      '  MCSDID14,'
      '  MCUSERENTER,'
      '  MCTIMEENTER,'
      '  MCUSEREDIT,'
      '  MCTIMEEDIT,'
      '  MCISDELETE,'
      '  MCSDID15,'
      '  MCSDID16,'
      '  MCSDID17,'
      '  MCSDID18,'
      '  MCSDID19,'
      '  MCSDID20,'
      '  MCSDID21,'
      '  MCSDID22,'
      '  MCSDID23,'
      '  MCSDID24,'
      '  MCSDID25,'
      '  MCSDID26,'
      '  MCSDID27,'
      '  MCSDID28,'
      '  GR,'
      '  SDNAMES1,'
      '  SDNAMES2,'
      '  SDNAMES3,'
      '  SDNAMES4,'
      '  SDNAMES5,'
      '  SDNAMES6,'
      '  SDNAMES7,'
      '  SDNAMES8,'
      '  SDNAMES9,'
      '  SDNAMES10,'
      '  SDNAMES11,'
      '  SDNAMES12,'
      '  SDNAMES13,'
      '  SDNAMES14,'
      '  SDNAMES15,'
      '  SDNAMES16,'
      '  SDNAMES17,'
      '  SDNAMES18,'
      '  SDNAMES19,'
      '  SDNAMES20,'
      '  SDNAMES21,'
      '  SDNAMES22,'
      '  SDNAMES23,'
      '  SDNAMES24,'
      '  SDNAMES25,'
      '  SDNAMES26,'
      '  SDNAMES27,'
      '  SDNAMES28'
      'from f_menu_content '
      'where'
      '  MCID = :MCID')
    ModifySQL.Strings = (
      'update f_menu_content'
      'set'
      '  MCID = :MCID,'
      '  MCISDELETE = :MCISDELETE,'
      '  MCSDID1 = :MCSDID1,'
      '  MCSDID10 = :MCSDID10,'
      '  MCSDID11 = :MCSDID11,'
      '  MCSDID12 = :MCSDID12,'
      '  MCSDID13 = :MCSDID13,'
      '  MCSDID14 = :MCSDID14,'
      '  MCSDID15 = :MCSDID15,'
      '  MCSDID16 = :MCSDID16,'
      '  MCSDID17 = :MCSDID17,'
      '  MCSDID18 = :MCSDID18,'
      '  MCSDID19 = :MCSDID19,'
      '  MCSDID2 = :MCSDID2,'
      '  MCSDID20 = :MCSDID20,'
      '  MCSDID21 = :MCSDID21,'
      '  MCSDID22 = :MCSDID22,'
      '  MCSDID23 = :MCSDID23,'
      '  MCSDID24 = :MCSDID24,'
      '  MCSDID25 = :MCSDID25,'
      '  MCSDID26 = :MCSDID26,'
      '  MCSDID27 = :MCSDID27,'
      '  MCSDID28 = :MCSDID28,'
      '  MCSDID3 = :MCSDID3,'
      '  MCSDID4 = :MCSDID4,'
      '  MCSDID5 = :MCSDID5,'
      '  MCSDID6 = :MCSDID6,'
      '  MCSDID7 = :MCSDID7,'
      '  MCSDID8 = :MCSDID8,'
      '  MCSDID9 = :MCSDID9,'
      '  MCTYPE = :MCTYPE,'
      '  MID = :MID,'
      '  NUM = :NUM'
      'where'
      '  MCID = :OLD_MCID')
    InsertSQL.Strings = (
      'insert into f_menu_content'
      
        '  (MCID, MCISDELETE, MCSDID1, MCSDID10, MCSDID11, MCSDID12, MCSD' +
        'ID13, MCSDID14, '
      
        '   MCSDID15, MCSDID16, MCSDID17, MCSDID18, MCSDID19, MCSDID2, MC' +
        'SDID20, '
      
        '   MCSDID21, MCSDID22, MCSDID23, MCSDID24, MCSDID25, MCSDID26, M' +
        'CSDID27, '
      
        '   MCSDID28, MCSDID3, MCSDID4, MCSDID5, MCSDID6, MCSDID7, MCSDID' +
        '8, MCSDID9, '
      '   MCTYPE, MID, NUM)'
      'values'
      
        '  (:MCID, :MCISDELETE, :MCSDID1, :MCSDID10, :MCSDID11, :MCSDID12' +
        ', :MCSDID13, '
      
        '   :MCSDID14, :MCSDID15, :MCSDID16, :MCSDID17, :MCSDID18, :MCSDI' +
        'D19, :MCSDID2, '
      
        '   :MCSDID20, :MCSDID21, :MCSDID22, :MCSDID23, :MCSDID24, :MCSDI' +
        'D25, :MCSDID26, '
      
        '   :MCSDID27, :MCSDID28, :MCSDID3, :MCSDID4, :MCSDID5, :MCSDID6,' +
        ' :MCSDID7, '
      '   :MCSDID8, :MCSDID9, :MCTYPE, :MID, :NUM)')
    DeleteSQL.Strings = (
      'update f_menu_content '
      'set mcisdelete=1'
      'where'
      '  MCID = :OLD_MCID')
    Left = 480
    Top = 32
  end
  object qDateSelect: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    CachedUpdates = True
    SQL.Strings = (
      'select * from  f_weekselect(:DATESELECT)')
    GeneratorField.Field = 'SDID'
    Left = 520
    Top = 32
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'DATESELECT'
        ParamType = ptUnknown
      end>
    object qDateSelectOUTWDATEBEGIN: TDateField
      FieldName = 'OUTWDATEBEGIN'
      Origin = '"F_WEEKSELECT"."OUTWDATEBEGIN"'
    end
  end
  object memMenuContentAll: TdxMemData
    Indexes = <>
    SortOptions = []
    SortedField = 'num'
    Left = 521
    Top = 178
    object memMenuContentAllmctype: TIntegerField
      FieldName = 'mctype'
    end
    object memMenuContentAllnum: TIntegerField
      FieldName = 'num'
    end
    object memMenuContentAllgr1: TStringField
      FieldName = 'gr1'
      Size = 80
    end
    object memMenuContentAllSDNAMES1n1: TStringField
      FieldName = 'SDNAMES1n1'
      Size = 255
    end
    object memMenuContentAllSDNAMES2n1: TStringField
      FieldName = 'SDNAMES2n1'
      Size = 255
    end
    object memMenuContentAllSDNAMES3n1: TStringField
      FieldName = 'SDNAMES3n1'
      Size = 255
    end
    object memMenuContentAllSDNAMES4n1: TStringField
      FieldName = 'SDNAMES4n1'
      Size = 255
    end
    object memMenuContentAllSDNAMES5n1: TStringField
      FieldName = 'SDNAMES5n1'
      Size = 255
    end
    object memMenuContentAllSDNAMES6n1: TStringField
      FieldName = 'SDNAMES6n1'
      Size = 255
    end
    object memMenuContentAllSDNAMES7n1: TStringField
      FieldName = 'SDNAMES7n1'
      Size = 255
    end
    object memMenuContentAllSDNAMES8n1: TStringField
      FieldName = 'SDNAMES8n1'
      Size = 255
    end
    object memMenuContentAllSDNAMES9n1: TStringField
      FieldName = 'SDNAMES9n1'
      Size = 255
    end
    object memMenuContentAllSDNAMES10n1: TStringField
      FieldName = 'SDNAMES10n1'
      Size = 255
    end
    object memMenuContentAllSDNAMES11n1: TStringField
      FieldName = 'SDNAMES11n1'
      Size = 255
    end
    object memMenuContentAllSDNAMES12n1: TStringField
      FieldName = 'SDNAMES12n1'
      Size = 255
    end
    object memMenuContentAllSDNAMES13n1: TStringField
      FieldName = 'SDNAMES13n1'
      Size = 255
    end
    object memMenuContentAllSDNAMES14n1: TStringField
      FieldName = 'SDNAMES14n1'
      Size = 255
    end
    object memMenuContentAllSDNAMES1n2: TStringField
      FieldName = 'SDNAMES1n2'
      Size = 255
    end
    object memMenuContentAllSDNAMES2n2: TStringField
      FieldName = 'SDNAMES2n2'
      Size = 255
    end
    object memMenuContentAllSDNAMES3n2: TStringField
      FieldName = 'SDNAMES3n2'
      Size = 255
    end
    object memMenuContentAllSDNAMES4n2: TStringField
      FieldName = 'SDNAMES4n2'
      Size = 255
    end
    object memMenuContentAllSDNAMES5n2: TStringField
      FieldName = 'SDNAMES5n2'
      Size = 255
    end
    object memMenuContentAllSDNAMES6n2: TStringField
      FieldName = 'SDNAMES6n2'
      Size = 255
    end
    object memMenuContentAllSDNAMES7n2: TStringField
      FieldName = 'SDNAMES7n2'
      Size = 255
    end
    object memMenuContentAllSDNAMES8n2: TStringField
      FieldName = 'SDNAMES8n2'
      Size = 255
    end
    object memMenuContentAllSDNAMES9n2: TStringField
      FieldName = 'SDNAMES9n2'
      Size = 255
    end
    object memMenuContentAllSDNAMES10n2: TStringField
      FieldName = 'SDNAMES10n2'
      Size = 255
    end
    object memMenuContentAllSDNAMES11n2: TStringField
      FieldName = 'SDNAMES11n2'
      Size = 255
    end
    object memMenuContentAllSDNAMES12n2: TStringField
      FieldName = 'SDNAMES12n2'
      Size = 255
    end
    object memMenuContentAllSDNAMES13n2: TStringField
      FieldName = 'SDNAMES13n2'
      Size = 255
    end
    object memMenuContentAllSDNAMES14n2: TStringField
      FieldName = 'SDNAMES14n2'
      Size = 255
    end
    object memMenuContentAllSDNAMES1n3: TStringField
      FieldName = 'SDNAMES1n3'
      Size = 255
    end
    object memMenuContentAllSDNAMES2n3: TStringField
      FieldName = 'SDNAMES2n3'
      Size = 255
    end
    object memMenuContentAllSDNAMES3n3: TStringField
      FieldName = 'SDNAMES3n3'
      Size = 255
    end
    object memMenuContentAllSDNAMES4n3: TStringField
      FieldName = 'SDNAMES4n3'
      Size = 255
    end
    object memMenuContentAllSDNAMES5n3: TStringField
      FieldName = 'SDNAMES5n3'
      Size = 255
    end
    object memMenuContentAllSDNAMES6n3: TStringField
      FieldName = 'SDNAMES6n3'
      Size = 255
    end
    object memMenuContentAllSDNAMES7n3: TStringField
      FieldName = 'SDNAMES7n3'
      Size = 255
    end
    object memMenuContentAllSDNAMES8n3: TStringField
      FieldName = 'SDNAMES8n3'
      Size = 255
    end
    object memMenuContentAllSDNAMES9n3: TStringField
      FieldName = 'SDNAMES9n3'
      Size = 255
    end
    object memMenuContentAllSDNAMES10n3: TStringField
      FieldName = 'SDNAMES10n3'
      Size = 255
    end
    object memMenuContentAllSDNAMES11n3: TStringField
      FieldName = 'SDNAMES11n3'
      Size = 255
    end
    object memMenuContentAllSDNAMES12n3: TStringField
      FieldName = 'SDNAMES12n3'
      Size = 255
    end
    object memMenuContentAllSDNAMES13n3: TStringField
      FieldName = 'SDNAMES13n3'
      Size = 255
    end
    object memMenuContentAllSDNAMES14n3: TStringField
      FieldName = 'SDNAMES14n3'
      Size = 255
    end
    object memMenuContentAllSDNAMES1n4: TStringField
      FieldName = 'SDNAMES1n4'
      Size = 255
    end
    object memMenuContentAllSDNAMES2n4: TStringField
      FieldName = 'SDNAMES2n4'
      Size = 255
    end
    object memMenuContentAllSDNAMES3n4: TStringField
      FieldName = 'SDNAMES3n4'
      Size = 255
    end
    object memMenuContentAllSDNAMES4n4: TStringField
      FieldName = 'SDNAMES4n4'
      Size = 255
    end
    object memMenuContentAllSDNAMES5n4: TStringField
      FieldName = 'SDNAMES5n4'
      Size = 255
    end
    object memMenuContentAllSDNAMES6n4: TStringField
      FieldName = 'SDNAMES6n4'
      Size = 255
    end
    object memMenuContentAllSDNAMES7n4: TStringField
      FieldName = 'SDNAMES7n4'
      Size = 255
    end
    object memMenuContentAllSDNAMES8n4: TStringField
      FieldName = 'SDNAMES8n4'
      Size = 255
    end
    object memMenuContentAllSDNAMES9n4: TStringField
      FieldName = 'SDNAMES9n4'
      Size = 255
    end
    object memMenuContentAllSDNAMES10n4: TStringField
      FieldName = 'SDNAMES10n4'
      Size = 255
    end
    object memMenuContentAllSDNAMES11n4: TStringField
      FieldName = 'SDNAMES11n4'
      Size = 255
    end
    object memMenuContentAllSDNAMES12n4: TStringField
      FieldName = 'SDNAMES12n4'
      Size = 255
    end
    object memMenuContentAllSDNAMES13n4: TStringField
      FieldName = 'SDNAMES13n4'
      Size = 255
    end
    object memMenuContentAllSDNAMES14n4: TStringField
      FieldName = 'SDNAMES14n4'
      Size = 255
    end
  end
  object qMenuCount: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    CachedUpdates = True
    SQL.Strings = (
      'select R1.MCTYPE,'
      '       case'
      '         when R1.MCTYPE = 1 then '#39#1047#1072#1074#1090#1088#1072#1082' '#8470'1'#39
      '         when R1.MCTYPE = 2 then '#39#1047#1072#1074#1090#1088#1072#1082' '#8470'2'#39
      '         when R1.MCTYPE = 3 then '#39#1054#1073#1077#1076#39
      '         when R1.MCTYPE = 4 then '#39#1055#1086#1083#1076#1085#1080#1082#39
      '         when R1.MCTYPE = 5 then '#39#1059#1078#1080#1085' '#8470'1'#39
      '         when R1.MCTYPE = 6 then '#39#1059#1078#1080#1085' '#8470'2'#39
      '       end as GR1,'
      '       max(R1.COUNT1) as COUNT2'
      'from (select T1.MID, MC.MCTYPE, count(MC.MCID) as COUNT1'
      '      from (select first 1 M1.DATEIN as DIN, M1.*'
      '            from F_MENU M1'
      '            where M1.MISDELETE is null and'
      '                  M1.MTYPE = 1 and'
      
        '                  (cast(:date as date) between M1.DATEBEGIN and ' +
        'M1.DATEEND)'
      '            order by M1.DATEIN desc, M1.MID desc) T1'
      '      inner join F_MENU_CONTENT MC on MC.MID = T1.MID'
      '      where MC.NUM <> 0'
      '      group by 1, 2'
      '      union'
      '      select T1.MID, MC.MCTYPE, count(MC.MCID) as COUNT1'
      '      from (select first 1 M1.DATEIN as DIN, M1.*'
      '            from F_MENU M1'
      '            where M1.MISDELETE is null and'
      '                  M1.MTYPE = 2 and'
      
        '                  (cast(:date as date) between M1.DATEBEGIN and ' +
        'M1.DATEEND)'
      '            order by M1.DATEIN desc, M1.MID desc) T1'
      '      inner join F_MENU_CONTENT MC on MC.MID = T1.MID'
      '      where MC.NUM <> 0'
      '      group by 1, 2'
      '      union'
      '      select T1.MID, MC.MCTYPE, count(MC.MCID) as COUNT1'
      '      from (select first 1 M1.DATEIN as DIN, M1.*'
      '            from F_MENU M1'
      '            where M1.MISDELETE is null and'
      '                  M1.MTYPE = 3 and'
      
        '                  (cast(:date as date) between M1.DATEBEGIN and ' +
        'M1.DATEEND)'
      '            order by M1.DATEIN desc, M1.MID desc) T1'
      '      inner join F_MENU_CONTENT MC on MC.MID = T1.MID'
      '      where MC.NUM <> 0'
      '      group by 1, 2'
      '      union'
      '      select T1.MID, MC.MCTYPE, count(MC.MCID) as COUNT1'
      '      from (select first 1 M1.DATEIN as DIN, M1.*'
      '            from F_MENU M1'
      '            where M1.MISDELETE is null and'
      '                  M1.MTYPE = 4 and'
      
        '                  (cast(:date as date) between M1.DATEBEGIN and ' +
        'M1.DATEEND)'
      '            order by M1.DATEIN desc, M1.MID desc) T1'
      '      inner join F_MENU_CONTENT MC on MC.MID = T1.MID'
      '      where MC.NUM <> 0'
      '      group by 1, 2) R1'
      'group by 1, 2'
      'order by 1  ')
    GeneratorField.Field = 'SDID'
    Left = 320
    Top = 360
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'date'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'date'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'date'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'date'
        ParamType = ptUnknown
      end>
    object qMenuCountMCTYPE: TIntegerField
      FieldName = 'MCTYPE'
      ProviderFlags = []
    end
    object qMenuCountGR1: TIBStringField
      FieldName = 'GR1'
      ProviderFlags = []
      FixedChar = True
      Size = 10
    end
    object qMenuCountCOUNT2: TIntegerField
      FieldName = 'COUNT2'
      ProviderFlags = []
    end
  end
  object dsMenuAll: TDataSource
    DataSet = qMenuAll
    Left = 192
    Top = 368
  end
  object qMenuAll: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    DataSource = dlgDS
    SQL.Strings = (
      'select * from (select first 1 m1.datein as din, m1.*'
      'from f_menu m1'
      
        'where m1.misdelete is null and m1.mtype=1 and (CAST(:date AS DAT' +
        'E) BETWEEN m1.datebegin AND m1.DATEEND)'
      'order by m1.datein desc , m1.mid desc ) t1'
      'union'
      'select * from (select first 1 m2.datein as din, m2.*'
      'from f_menu m2'
      
        'where m2.misdelete is null and m2.mtype=2 and (CAST(:date AS DAT' +
        'E) BETWEEN m2.datebegin AND m2.DATEEND)'
      'order by m2.datein desc , m2.mid desc ) t2'
      'union'
      'select * from (select first 1 m3.datein as din, m3.*'
      'from f_menu m3'
      
        'where m3.misdelete is null and m3.mtype=3 and (CAST(:date AS DAT' +
        'E) BETWEEN m3.datebegin AND m3.DATEEND)'
      'order by m3.datein desc , m3.mid desc ) t3'
      'union'
      'select * from (select first 1 m4.datein as din, m4.*'
      'from f_menu m4'
      
        'where m4.misdelete is null and m4.mtype=4 and (CAST(:date AS DAT' +
        'E) BETWEEN m4.datebegin AND m4.DATEEND)'
      'order by m4.datein desc , m4.mid desc ) t4')
    GeneratorField.Field = 'SDID'
    Left = 232
    Top = 368
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'date'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'date'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'date'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'date'
        ParamType = ptUnknown
      end>
    object qMenuAllDIN: TDateField
      FieldName = 'DIN'
      Origin = '"F_MENU"."DATEIN"'
    end
    object qMenuAllMID: TIntegerField
      FieldName = 'MID'
      Origin = '"F_MENU"."MID"'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object qMenuAllMNAME: TIBStringField
      FieldName = 'MNAME'
      Origin = '"F_MENU"."MNAME"'
      Size = 40
    end
    object qMenuAllDATEBEGIN: TDateField
      FieldName = 'DATEBEGIN'
      Origin = '"F_MENU"."DATEBEGIN"'
    end
    object qMenuAllDATEEND: TDateField
      FieldName = 'DATEEND'
      Origin = '"F_MENU"."DATEEND"'
    end
    object qMenuAllDATEIN: TDateField
      FieldName = 'DATEIN'
      Origin = '"F_MENU"."DATEIN"'
    end
    object qMenuAllMTYPE: TIntegerField
      FieldName = 'MTYPE'
      Origin = '"F_MENU"."MTYPE"'
    end
    object qMenuAllMUSERENTER: TIBStringField
      FieldName = 'MUSERENTER'
      Origin = '"F_MENU"."MUSERENTER"'
      Size = 40
    end
    object qMenuAllMTIMEENTER: TDateTimeField
      FieldName = 'MTIMEENTER'
      Origin = '"F_MENU"."MTIMEENTER"'
    end
    object qMenuAllMUSEREDIT: TIBStringField
      FieldName = 'MUSEREDIT'
      Origin = '"F_MENU"."MUSEREDIT"'
      Size = 40
    end
    object qMenuAllMTIMEEDIT: TDateTimeField
      FieldName = 'MTIMEEDIT'
      Origin = '"F_MENU"."MTIMEEDIT"'
    end
    object qMenuAllMISDELETE: TIntegerField
      FieldName = 'MISDELETE'
      Origin = '"F_MENU"."MISDELETE"'
    end
  end
  object dsMenuContentAll: TDataSource
    DataSet = memMenuContentAll
    Left = 488
    Top = 176
  end
  object qMenuContentAll: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    CachedUpdates = True
    SQL.Strings = (
      'select MC.*,'
      '       case'
      '         when MC.MCTYPE = 1 then '#39#1047#1072#1074#1090#1088#1072#1082' '#8470'1'#39
      '         when MC.MCTYPE = 2 then '#39#1047#1072#1074#1090#1088#1072#1082' '#8470'2'#39
      '         when MC.MCTYPE = 3 then '#39#1054#1073#1077#1076#39
      '         when MC.MCTYPE = 4 then '#39#1055#1086#1083#1076#1085#1080#1082#39
      '         when MC.MCTYPE = 5 then '#39#1059#1078#1080#1085' '#8470'1'#39
      '         when MC.MCTYPE = 6 then '#39#1059#1078#1080#1085' '#8470'2'#39
      '       end as GR,'
      
        '       SD1.SDNAME as SDNAMES1, SD2.SDNAME as SDNAMES2, SD3.SDNAM' +
        'E as SDNAMES3, SD4.SDNAME as SDNAMES4,'
      
        '       SD5.SDNAME as SDNAMES5, SD6.SDNAME as SDNAMES6, SD7.SDNAM' +
        'E as SDNAMES7, SD8.SDNAME as SDNAMES8,'
      
        '       SD9.SDNAME as SDNAMES9, SD10.SDNAME as SDNAMES10, SD11.SD' +
        'NAME as SDNAMES11, SD12.SDNAME as SDNAMES12,'
      '       SD13.SDNAME as SDNAMES13, SD14.SDNAME as SDNAMES14'
      'from F_MENU_CONTENT MC'
      'left join SYS_DIC SD1 on SD1.SDID = MC.MCSDID1'
      'left join SYS_DIC SD2 on SD2.SDID = MC.MCSDID2'
      'left join SYS_DIC SD3 on SD3.SDID = MC.MCSDID3'
      'left join SYS_DIC SD4 on SD4.SDID = MC.MCSDID4'
      'left join SYS_DIC SD5 on SD5.SDID = MC.MCSDID5'
      'left join SYS_DIC SD6 on SD6.SDID = MC.MCSDID6'
      'left join SYS_DIC SD7 on SD7.SDID = MC.MCSDID7'
      'left join SYS_DIC SD8 on SD8.SDID = MC.MCSDID8'
      'left join SYS_DIC SD9 on SD9.SDID = MC.MCSDID9'
      'left join SYS_DIC SD10 on SD10.SDID = MC.MCSDID10'
      'left join SYS_DIC SD11 on SD11.SDID = MC.MCSDID11'
      'left join SYS_DIC SD12 on SD12.SDID = MC.MCSDID12'
      'left join SYS_DIC SD13 on SD13.SDID = MC.MCSDID13'
      'left join SYS_DIC SD14 on SD14.SDID = MC.MCSDID14'
      'where MC.MCISDELETE is null and     mc.num<>0 and'
      '      MC.MID = :MID and MC.MCTYPE=:MCTYPE'
      'order by MC.MCTYPE, mc.num')
    GeneratorField.Field = 'SDID'
    Left = 472
    Top = 224
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'mid'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'MCTYPE'
        ParamType = ptUnknown
      end>
    object qMenuContentAllMCID: TIntegerField
      FieldName = 'MCID'
      Origin = '"F_MENU_CONTENT"."MCID"'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object qMenuContentAllMID: TIntegerField
      FieldName = 'MID'
      Origin = '"F_MENU_CONTENT"."MID"'
    end
    object qMenuContentAllMCTYPE: TIntegerField
      FieldName = 'MCTYPE'
      Origin = '"F_MENU_CONTENT"."MCTYPE"'
    end
    object qMenuContentAllNUM: TIntegerField
      FieldName = 'NUM'
      Origin = '"F_MENU_CONTENT"."NUM"'
    end
    object qMenuContentAllMCSDID1: TIntegerField
      FieldName = 'MCSDID1'
      Origin = '"F_MENU_CONTENT"."MCSDID1"'
    end
    object qMenuContentAllMCSDID2: TIntegerField
      FieldName = 'MCSDID2'
      Origin = '"F_MENU_CONTENT"."MCSDID2"'
    end
    object qMenuContentAllMCSDID3: TIntegerField
      FieldName = 'MCSDID3'
      Origin = '"F_MENU_CONTENT"."MCSDID3"'
    end
    object qMenuContentAllMCSDID4: TIntegerField
      FieldName = 'MCSDID4'
      Origin = '"F_MENU_CONTENT"."MCSDID4"'
    end
    object qMenuContentAllMCSDID5: TIntegerField
      FieldName = 'MCSDID5'
      Origin = '"F_MENU_CONTENT"."MCSDID5"'
    end
    object qMenuContentAllMCSDID6: TIntegerField
      FieldName = 'MCSDID6'
      Origin = '"F_MENU_CONTENT"."MCSDID6"'
    end
    object qMenuContentAllMCSDID7: TIntegerField
      FieldName = 'MCSDID7'
      Origin = '"F_MENU_CONTENT"."MCSDID7"'
    end
    object qMenuContentAllMCSDID8: TIntegerField
      FieldName = 'MCSDID8'
      Origin = '"F_MENU_CONTENT"."MCSDID8"'
    end
    object qMenuContentAllMCSDID9: TIntegerField
      FieldName = 'MCSDID9'
      Origin = '"F_MENU_CONTENT"."MCSDID9"'
    end
    object qMenuContentAllMCSDID10: TIntegerField
      FieldName = 'MCSDID10'
      Origin = '"F_MENU_CONTENT"."MCSDID10"'
    end
    object qMenuContentAllMCSDID11: TIntegerField
      FieldName = 'MCSDID11'
      Origin = '"F_MENU_CONTENT"."MCSDID11"'
    end
    object qMenuContentAllMCSDID12: TIntegerField
      FieldName = 'MCSDID12'
      Origin = '"F_MENU_CONTENT"."MCSDID12"'
    end
    object qMenuContentAllMCSDID13: TIntegerField
      FieldName = 'MCSDID13'
      Origin = '"F_MENU_CONTENT"."MCSDID13"'
    end
    object qMenuContentAllMCSDID14: TIntegerField
      FieldName = 'MCSDID14'
      Origin = '"F_MENU_CONTENT"."MCSDID14"'
    end
    object qMenuContentAllMCUSERENTER: TIBStringField
      FieldName = 'MCUSERENTER'
      Origin = '"F_MENU_CONTENT"."MCUSERENTER"'
      Size = 40
    end
    object qMenuContentAllMCTIMEENTER: TDateTimeField
      FieldName = 'MCTIMEENTER'
      Origin = '"F_MENU_CONTENT"."MCTIMEENTER"'
    end
    object qMenuContentAllMCUSEREDIT: TIBStringField
      FieldName = 'MCUSEREDIT'
      Origin = '"F_MENU_CONTENT"."MCUSEREDIT"'
      Size = 40
    end
    object qMenuContentAllMCTIMEEDIT: TDateTimeField
      FieldName = 'MCTIMEEDIT'
      Origin = '"F_MENU_CONTENT"."MCTIMEEDIT"'
    end
    object qMenuContentAllMCISDELETE: TIntegerField
      FieldName = 'MCISDELETE'
      Origin = '"F_MENU_CONTENT"."MCISDELETE"'
    end
    object qMenuContentAllGR: TIBStringField
      FieldName = 'GR'
      ProviderFlags = []
      FixedChar = True
      Size = 10
    end
    object qMenuContentAllSDNAMES1: TIBStringField
      FieldName = 'SDNAMES1'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentAllSDNAMES2: TIBStringField
      FieldName = 'SDNAMES2'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentAllSDNAMES3: TIBStringField
      FieldName = 'SDNAMES3'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentAllSDNAMES4: TIBStringField
      FieldName = 'SDNAMES4'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentAllSDNAMES5: TIBStringField
      FieldName = 'SDNAMES5'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentAllSDNAMES6: TIBStringField
      FieldName = 'SDNAMES6'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentAllSDNAMES7: TIBStringField
      FieldName = 'SDNAMES7'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentAllSDNAMES8: TIBStringField
      FieldName = 'SDNAMES8'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentAllSDNAMES9: TIBStringField
      FieldName = 'SDNAMES9'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentAllSDNAMES10: TIBStringField
      FieldName = 'SDNAMES10'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentAllSDNAMES11: TIBStringField
      FieldName = 'SDNAMES11'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentAllSDNAMES12: TIBStringField
      FieldName = 'SDNAMES12'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentAllSDNAMES13: TIBStringField
      FieldName = 'SDNAMES13'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentAllSDNAMES14: TIBStringField
      FieldName = 'SDNAMES14'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
  end
  object MenuReport: TfrxReport
    Version = '4.9'
    DotMatrixReport = False
    IniFile = '\Software\Fast Reports'
    PreviewOptions.Buttons = [pbPrint, pbLoad, pbSave, pbExport, pbZoom, pbFind, pbOutline, pbPageSetup, pbTools, pbEdit, pbNavigator, pbExportQuick]
    PreviewOptions.Zoom = 1.000000000000000000
    PrintOptions.Printer = 'Default'
    PrintOptions.PrintOnSheet = 0
    ReportOptions.CreateDate = 41390.503866516200000000
    ReportOptions.LastChange = 41393.590819270830000000
    ScriptLanguage = 'PascalScript'
    StoreInDFM = False
    Left = 554
    Top = 282
  end
  object frxqMenuContent: TfrxDBDataset
    UserName = 'frxqMenuContent'
    CloseDataSource = False
    DataSet = qMenuPrint
    BCDToCurrency = False
    Left = 594
    Top = 282
  end
  object qMenuPrint: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    DataSource = dsMenu
    SQL.Strings = (
      'select MC.*,'
      '       case'
      'when MC.MCTYPE = 0 then '#39#1047#1072#1074#1090#1088#1072#1082' '#8470'0 '#39'||CAST(:time1 AS D_STR20)'
      'when MC.MCTYPE = 1 then '#39#1047#1072#1074#1090#1088#1072#1082' '#8470'1 '#39'||CAST(:time2 AS D_STR20)'
      
        '         when MC.MCTYPE = 2 then '#39#1047#1072#1074#1090#1088#1072#1082' '#8470'2 '#39'||CAST(:time3 AS D' +
        '_STR20)'
      
        '         when MC.MCTYPE = 3 then '#39#1054#1073#1077#1076' '#39'||CAST(:time4 AS D_STR20' +
        ')'
      
        '         when MC.MCTYPE = 4 then '#39#1055#1086#1083#1076#1085#1080#1082' '#39'||CAST(:time5 AS D_ST' +
        'R20)'
      
        '         when MC.MCTYPE = 5 then '#39#1059#1078#1080#1085' '#8470'1 '#39'||CAST(:time6 AS D_ST' +
        'R20)'
      
        '         when MC.MCTYPE = 6 then '#39#1059#1078#1080#1085' '#8470'2 '#39'||CAST(:time7 AS D_ST' +
        'R20)'
      '       end as GR,'
      
        '       f1.TMNAME as SDNAMES1, f2.TMNAME as SDNAMES2, f3.TMNAME a' +
        's SDNAMES3, f4.TMNAME as SDNAMES4,'
      
        '       f5.TMNAME as SDNAMES5, f6.TMNAME as SDNAMES6, f7.TMNAME a' +
        's SDNAMES7, f8.TMNAME as SDNAMES8,'
      
        '       f9.TMNAME as SDNAMES9, f10.TMNAME as SDNAMES10, f11.TMNAM' +
        'E as SDNAMES11, f12.TMNAME as SDNAMES12,'
      '       f13.TMNAME as SDNAMES13, f14.TMNAME as SDNAMES14,'
      '       f15.TMNAME as SDNAMES15,'
      '       f16.TMNAME as SDNAMES16,'
      '       f17.TMNAME as SDNAMES17,'
      '       f18.TMNAME as SDNAMES18,'
      '       f19.TMNAME as SDNAMES19,'
      '       f20.TMNAME as SDNAMES20,'
      '       f21.TMNAME as SDNAMES21,'
      '       f22.TMNAME as SDNAMES22,'
      '       f23.TMNAME as SDNAMES23,'
      '       f24.TMNAME as SDNAMES24,'
      '       f25.TMNAME as SDNAMES25,'
      '       f26.TMNAME as SDNAMES26,'
      '       f27.TMNAME as SDNAMES27,'
      '       f28.TMNAME as SDNAMES28'
      'from F_MENU_CONTENT MC'
      'LEFT JOIN F_TECHMAP f1 ON f1.TMSDID = MC.MCSDID1'
      'LEFT JOIN F_TECHMAP f2 ON f2.TMSDID = MC.MCSDID2'
      'LEFT JOIN F_TECHMAP f3 ON f3.TMSDID = MC.MCSDID3'
      'LEFT JOIN F_TECHMAP f4 ON f4.TMSDID = MC.MCSDID4'
      'LEFT JOIN F_TECHMAP f5 ON f5.TMSDID = MC.MCSDID5'
      'LEFT JOIN F_TECHMAP f6 ON f6.TMSDID = MC.MCSDID6'
      'LEFT JOIN F_TECHMAP f7 ON f7.TMSDID = MC.MCSDID7'
      'LEFT JOIN F_TECHMAP f8 ON f8.TMSDID = MC.MCSDID8'
      'LEFT JOIN F_TECHMAP f9 ON f9.TMSDID = MC.MCSDID9'
      'LEFT JOIN F_TECHMAP f10 ON f10.TMSDID = MC.MCSDID10'
      'LEFT JOIN F_TECHMAP f11 ON f11.TMSDID = MC.MCSDID11'
      'LEFT JOIN F_TECHMAP f12 ON f12.TMSDID = MC.MCSDID12'
      'LEFT JOIN F_TECHMAP f13 ON f13.TMSDID = MC.MCSDID13'
      'LEFT JOIN F_TECHMAP f14 ON f14.TMSDID = MC.MCSDID14'
      'LEFT JOIN F_TECHMAP f15 ON f15.TMSDID = MC.MCSDID15'
      'LEFT JOIN F_TECHMAP f16 ON f16.TMSDID = MC.MCSDID16'
      'LEFT JOIN F_TECHMAP f17 ON f17.TMSDID = MC.MCSDID17'
      'LEFT JOIN F_TECHMAP f18 ON f18.TMSDID = MC.MCSDID18'
      'LEFT JOIN F_TECHMAP f19 ON f19.TMSDID = MC.MCSDID19'
      'LEFT JOIN F_TECHMAP f20 ON f20.TMSDID = MC.MCSDID20'
      'LEFT JOIN F_TECHMAP f21 ON f21.TMSDID = MC.MCSDID21'
      'LEFT JOIN F_TECHMAP f22 ON f22.TMSDID = MC.MCSDID22'
      'LEFT JOIN F_TECHMAP f23 ON f23.TMSDID = MC.MCSDID23'
      'LEFT JOIN F_TECHMAP f24 ON f24.TMSDID = MC.MCSDID24'
      'LEFT JOIN F_TECHMAP f25 ON f25.TMSDID = MC.MCSDID25'
      'LEFT JOIN F_TECHMAP f26 ON f26.TMSDID = MC.MCSDID26'
      'LEFT JOIN F_TECHMAP f27 ON f27.TMSDID = MC.MCSDID27'
      'LEFT JOIN F_TECHMAP f28 ON f28.TMSDID = MC.MCSDID28'
      'where MC.MCISDELETE is null and'
      '      MC.MID = :MID and MC.NUM <> 0'
      'order by MC.MCTYPE, mc.num')
    GeneratorField.Field = 'SDID'
    Left = 448
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'time1'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'time2'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'time3'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'time4'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'time5'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'time6'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'time7'
        ParamType = ptUnknown
      end
      item
        DataType = ftInteger
        Name = 'MID'
        ParamType = ptUnknown
        Size = 4
      end>
    object IntegerField1: TIntegerField
      FieldName = 'MCID'
      Origin = '"F_MENU_CONTENT"."MCID"'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object IntegerField2: TIntegerField
      FieldName = 'MID'
      Origin = '"F_MENU_CONTENT"."MID"'
    end
    object IntegerField3: TIntegerField
      FieldName = 'MCTYPE'
      Origin = '"F_MENU_CONTENT"."MCTYPE"'
    end
    object IntegerField4: TIntegerField
      FieldName = 'NUM'
      Origin = '"F_MENU_CONTENT"."NUM"'
    end
    object IntegerField5: TIntegerField
      FieldName = 'MCSDID1'
      Origin = '"F_MENU_CONTENT"."MCSDID1"'
    end
    object IntegerField6: TIntegerField
      FieldName = 'MCSDID2'
      Origin = '"F_MENU_CONTENT"."MCSDID2"'
    end
    object IntegerField7: TIntegerField
      FieldName = 'MCSDID3'
      Origin = '"F_MENU_CONTENT"."MCSDID3"'
    end
    object IntegerField8: TIntegerField
      FieldName = 'MCSDID4'
      Origin = '"F_MENU_CONTENT"."MCSDID4"'
    end
    object IntegerField9: TIntegerField
      FieldName = 'MCSDID5'
      Origin = '"F_MENU_CONTENT"."MCSDID5"'
    end
    object IntegerField10: TIntegerField
      FieldName = 'MCSDID6'
      Origin = '"F_MENU_CONTENT"."MCSDID6"'
    end
    object IntegerField11: TIntegerField
      FieldName = 'MCSDID7'
      Origin = '"F_MENU_CONTENT"."MCSDID7"'
    end
    object IntegerField12: TIntegerField
      FieldName = 'MCSDID8'
      Origin = '"F_MENU_CONTENT"."MCSDID8"'
    end
    object IntegerField13: TIntegerField
      FieldName = 'MCSDID9'
      Origin = '"F_MENU_CONTENT"."MCSDID9"'
    end
    object IntegerField14: TIntegerField
      FieldName = 'MCSDID10'
      Origin = '"F_MENU_CONTENT"."MCSDID10"'
    end
    object IntegerField15: TIntegerField
      FieldName = 'MCSDID11'
      Origin = '"F_MENU_CONTENT"."MCSDID11"'
    end
    object IntegerField16: TIntegerField
      FieldName = 'MCSDID12'
      Origin = '"F_MENU_CONTENT"."MCSDID12"'
    end
    object IntegerField17: TIntegerField
      FieldName = 'MCSDID13'
      Origin = '"F_MENU_CONTENT"."MCSDID13"'
    end
    object IntegerField18: TIntegerField
      FieldName = 'MCSDID14'
      Origin = '"F_MENU_CONTENT"."MCSDID14"'
    end
    object IntegerField19: TIntegerField
      FieldName = 'MCSDID15'
      Origin = '"F_MENU_CONTENT"."MCSDID15"'
    end
    object IntegerField20: TIntegerField
      FieldName = 'MCSDID16'
      Origin = '"F_MENU_CONTENT"."MCSDID16"'
    end
    object IntegerField21: TIntegerField
      FieldName = 'MCSDID17'
      Origin = '"F_MENU_CONTENT"."MCSDID17"'
    end
    object IntegerField22: TIntegerField
      FieldName = 'MCSDID18'
      Origin = '"F_MENU_CONTENT"."MCSDID18"'
    end
    object IntegerField23: TIntegerField
      FieldName = 'MCSDID19'
      Origin = '"F_MENU_CONTENT"."MCSDID19"'
    end
    object IntegerField24: TIntegerField
      FieldName = 'MCSDID20'
      Origin = '"F_MENU_CONTENT"."MCSDID20"'
    end
    object IntegerField25: TIntegerField
      FieldName = 'MCSDID21'
      Origin = '"F_MENU_CONTENT"."MCSDID21"'
    end
    object IntegerField26: TIntegerField
      FieldName = 'MCSDID22'
      Origin = '"F_MENU_CONTENT"."MCSDID22"'
    end
    object IntegerField27: TIntegerField
      FieldName = 'MCSDID23'
      Origin = '"F_MENU_CONTENT"."MCSDID23"'
    end
    object IntegerField28: TIntegerField
      FieldName = 'MCSDID24'
      Origin = '"F_MENU_CONTENT"."MCSDID24"'
    end
    object IntegerField29: TIntegerField
      FieldName = 'MCSDID25'
      Origin = '"F_MENU_CONTENT"."MCSDID25"'
    end
    object IntegerField30: TIntegerField
      FieldName = 'MCSDID26'
      Origin = '"F_MENU_CONTENT"."MCSDID26"'
    end
    object IntegerField31: TIntegerField
      FieldName = 'MCSDID27'
      Origin = '"F_MENU_CONTENT"."MCSDID27"'
    end
    object IntegerField32: TIntegerField
      FieldName = 'MCSDID28'
      Origin = '"F_MENU_CONTENT"."MCSDID28"'
    end
    object IBStringField1: TIBStringField
      FieldName = 'MCUSERENTER'
      Origin = '"F_MENU_CONTENT"."MCUSERENTER"'
      Size = 40
    end
    object DateTimeField1: TDateTimeField
      FieldName = 'MCTIMEENTER'
      Origin = '"F_MENU_CONTENT"."MCTIMEENTER"'
    end
    object IBStringField2: TIBStringField
      FieldName = 'MCUSEREDIT'
      Origin = '"F_MENU_CONTENT"."MCUSEREDIT"'
      Size = 40
    end
    object DateTimeField2: TDateTimeField
      FieldName = 'MCTIMEEDIT'
      Origin = '"F_MENU_CONTENT"."MCTIMEEDIT"'
    end
    object IntegerField33: TIntegerField
      FieldName = 'MCISDELETE'
      Origin = '"F_MENU_CONTENT"."MCISDELETE"'
    end
    object IBStringField4: TIBStringField
      FieldName = 'SDNAMES1'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField5: TIBStringField
      FieldName = 'SDNAMES2'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField6: TIBStringField
      FieldName = 'SDNAMES3'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField7: TIBStringField
      FieldName = 'SDNAMES4'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField8: TIBStringField
      FieldName = 'SDNAMES5'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField9: TIBStringField
      FieldName = 'SDNAMES6'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField10: TIBStringField
      FieldName = 'SDNAMES7'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField11: TIBStringField
      FieldName = 'SDNAMES8'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField12: TIBStringField
      FieldName = 'SDNAMES9'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField13: TIBStringField
      FieldName = 'SDNAMES10'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField14: TIBStringField
      FieldName = 'SDNAMES11'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField15: TIBStringField
      FieldName = 'SDNAMES12'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField16: TIBStringField
      FieldName = 'SDNAMES13'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField17: TIBStringField
      FieldName = 'SDNAMES14'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField18: TIBStringField
      FieldName = 'SDNAMES15'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField19: TIBStringField
      FieldName = 'SDNAMES16'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField20: TIBStringField
      FieldName = 'SDNAMES17'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField21: TIBStringField
      FieldName = 'SDNAMES18'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField22: TIBStringField
      FieldName = 'SDNAMES19'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField23: TIBStringField
      FieldName = 'SDNAMES20'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField24: TIBStringField
      FieldName = 'SDNAMES21'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField25: TIBStringField
      FieldName = 'SDNAMES22'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField26: TIBStringField
      FieldName = 'SDNAMES23'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField27: TIBStringField
      FieldName = 'SDNAMES24'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField28: TIBStringField
      FieldName = 'SDNAMES25'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField29: TIBStringField
      FieldName = 'SDNAMES26'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField30: TIBStringField
      FieldName = 'SDNAMES27'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object IBStringField31: TIBStringField
      FieldName = 'SDNAMES28'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuPrintGR: TIBStringField
      FieldName = 'GR'
      ProviderFlags = []
      Size = 31
    end
  end
end
